forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: fix typo.

This commit is contained in:
whitequark 2018-01-19 18:53:49 +00:00
parent 1c7cb737ca
commit ebd02c4f43
1 changed files with 2 additions and 2 deletions

View File

@ -114,9 +114,9 @@ class Programmer:
cmdline = ["openocd"]
if isinstance(self._client, LocalClient):
cmdline += ["-s", scripts_path()]
cmdline += ["-c", "; ".join(script)]
cmdline += ["-c", "; ".join(self.script())]
cmdline = [arg.replace("{", "{{").replace("}", "}}") for arg in self.script()]
cmdline = [arg.replace("{", "{{").replace("}", "}}") for arg in cmdline]
self._client.run_command(cmdline)
def load(self, bitfile, pld):