From d92cca9712a2fe94d9d5cae0b8772da8522e037d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 31 Aug 2017 12:16:52 +0800 Subject: [PATCH] artiq_flash: fix target_file handling --- artiq/frontend/artiq_flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index d6f279be0..5536565cd 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -82,7 +82,7 @@ class Programmer: "-s", scripts_path() ] if self.target_file is not None: - cmdline += ["-f", target_file] + cmdline += ["-f", self.target_file] cmdline += ["-c", "; ".join(self.prog)] subprocess.check_call(cmdline)