mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
artiq_flash: don't try to make rtm_binary_dir if binary_dir unset (#1851)
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
This commit is contained in:
parent
c8b9eed9c9
commit
a106ed0295
@ -347,7 +347,10 @@ def main():
|
||||
raise ValueError("the directory containing the binaries need to be specified using -d.")
|
||||
|
||||
binary_dir = args.dir
|
||||
rtm_binary_dir = os.path.join(binary_dir, "rtm")
|
||||
if binary_dir is not None:
|
||||
rtm_binary_dir = os.path.join(binary_dir, "rtm")
|
||||
else:
|
||||
rtm_binary_dir = None
|
||||
|
||||
if args.host is None:
|
||||
client = LocalClient()
|
||||
|
Loading…
Reference in New Issue
Block a user