From 0dd2613b88d937e71b274d68924088b1bad65de4 Mon Sep 17 00:00:00 2001 From: Hector Fernandez Date: Thu, 11 Jun 2020 18:10:27 +0200 Subject: Solved syntax error in test_main.py. --- test-cli/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-cli') diff --git a/test-cli/test_main.py b/test-cli/test_main.py index 3034e77..1f2ff90 100644 --- a/test-cli/test_main.py +++ b/test-cli/test_main.py @@ -156,7 +156,7 @@ def main(): # flash non-volatile memory resultmemory = 0 - if ("flashimagepath" in varlist and len(varlist["flashimagepath"]) > 0: + if "flashimagepath" in varlist and len(varlist["flashimagepath"]) > 0: resultmemory = flash_memory(varlist["flashimagepath"]) psdbObj.create_task_result(globalVar.taskid_ctl, "FLASHMEMORY", "TASK_OK" if resultmemory == 0 else "TASK_FAIL", -- cgit v1.1