From ebd02c4f43eac84ba1b14c6be991419f7f508d70 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 19 Jan 2018 18:53:49 +0000 Subject: [PATCH] artiq_flash: fix typo. --- artiq/frontend/artiq_flash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index 5605ddcbc..f2d73610e 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -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):