summaryrefslogtreecommitdiff
path: root/test-cli/test/flashers/flashmemory.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test/flashers/flashmemory.py')
-rw-r--r--test-cli/test/flashers/flashmemory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test/flashers/flashmemory.py b/test-cli/test/flashers/flashmemory.py
index c7267c6..3be56d7 100644
--- a/test-cli/test/flashers/flashmemory.py
+++ b/test-cli/test/flashers/flashmemory.py
@@ -1,9 +1,9 @@
import sh
-def flash_memory(imagefile):
+def flash_memory(imagepath):
print("Start programming Nand memory...")
- p = sh.bash("/usr/bin/igep-flash", "--skip-nandtest", "--image", "/opt/firmware/" + imagefile)
+ p = sh.bash("/usr/bin/igep-flash", "--skip-nandtest", "--image", imagepath)
if p.exit_code != 0:
print("Flasher: Could not complete flashing task.")
return 1