artiq_flash: fix target_file handling

This commit is contained in:
Sebastien Bourdeauducq 2017-08-31 12:16:52 +08:00
parent e652221221
commit d92cca9712

View File

@ -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)