forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: don't require binaries to merely restart FPGA.

This commit is contained in:
whitequark 2017-07-04 18:55:38 +00:00
parent ee1d5dbccb
commit 86c027e9c5
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def main():
if opts.dir is None: if opts.dir is None:
opts.dir = os.path.join(artiq_dir, "binaries", opts.dir = os.path.join(artiq_dir, "binaries",
"{}-{}".format(opts.target, opts.adapter)) "{}-{}".format(opts.target, opts.adapter))
if not os.path.exists(opts.dir): if not os.path.exists(opts.dir) and opts.action != ["start"]:
raise SystemExit("Binaries directory '{}' does not exist" raise SystemExit("Binaries directory '{}' does not exist"
.format(opts.dir)) .format(opts.dir))