Skip to content

Commit ac525af

Browse files
[Fix] teardown type error fix
1 parent 355e81c commit ac525af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Framework/MainDriverApi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ def main(device_dict, all_run_id_info):
17691769
if not shared.Test_Shared_Variables("zeuz_auto_teardown"):
17701770
shared.Set_Shared_Variables("zeuz_auto_teardown", "on")
17711771

1772-
if not CommonUtil.debug_status and shared.Get_Shared_Variables("zeuz_auto_teardown").strip().lower() not in ("off", "no", "false", "disable"):
1772+
if not CommonUtil.debug_status and str(shared.Get_Shared_Variables("zeuz_auto_teardown")).strip().lower() not in ("off", "no", "false", "disable"):
17731773
cleanup_driver_instances()
17741774

17751775
if not shared.Test_Shared_Variables("zeuz_collect_browser_log"):

0 commit comments

Comments
 (0)