Skip to content

Commit

Permalink
fix: replace bare except with KeyboardInterrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
massotb committed Aug 21, 2024
1 parent a923e17 commit bd4a0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nervous_sensors/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def cli(sensors, gui, folder, lsl, parallel):

try:
asyncio.run(run_app(true_sensors, gui, folder, lsl, parallel))
except:
except KeyboardInterrupt:
print_stop_info("Shutting down Nervous framework")
os._exit(0)

Expand Down

0 comments on commit bd4a0da

Please sign in to comment.