mirror of https://github.com/m-labs/artiq.git
artiq_flash: fix target_file handling
This commit is contained in:
parent
e652221221
commit
d92cca9712
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue