diff --git a/artiq/frontend/artiq_run.py b/artiq/frontend/artiq_run.py index 5a37e0707..4bb3bda82 100755 --- a/artiq/frontend/artiq_run.py +++ b/artiq/frontend/artiq_run.py @@ -132,7 +132,7 @@ def run(with_file=False): except CompileError as error: return except Exception as exn: - if hasattr(exn, 'artiq_core_exception'): + if hasattr(exn, "artiq_core_exception"): print(exn.artiq_core_exception, file=sys.stderr) raise exn finally: