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
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Programmer:
"-s", scripts_path() "-s", scripts_path()
] ]
if self.target_file is not None: if self.target_file is not None:
cmdline += ["-f", target_file] cmdline += ["-f", self.target_file]
cmdline += ["-c", "; ".join(self.prog)] cmdline += ["-c", "; ".join(self.prog)]
subprocess.check_call(cmdline) subprocess.check_call(cmdline)