summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-06-11 18:10:27 +0200
committerHector Fernandez <hector@iatec.biz>2020-06-11 18:10:27 +0200
commit0dd2613b88d937e71b274d68924088b1bad65de4 (patch)
treeb69665f811a62fc7be8682f6834aee66fd8f29fe
parent8cec0c159e86d3c2cd35e7ead05e0eb9138eb7e8 (diff)
downloadboard-0dd2613b88d937e71b274d68924088b1bad65de4.zip
board-0dd2613b88d937e71b274d68924088b1bad65de4.tar.gz
board-0dd2613b88d937e71b274d68924088b1bad65de4.tar.bz2
Solved syntax error in test_main.py.
-rw-r--r--test-cli/test_main.py2
1 files changed, 1 insertions, 1 deletions
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",