forked from M-Labs/artiq
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.")
|
raise ValueError("the directory containing the binaries need to be specified using -d.")
|
||||||
|
|
||||||
binary_dir = args.dir
|
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:
|
if args.host is None:
|
||||||
client = LocalClient()
|
client = LocalClient()
|
||||||
|
|
Loading…
Reference in New Issue