We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e95fc0e commit c3f3c20Copy full SHA for c3f3c20
1 file changed
pybricksdev/cli/__init__.py
@@ -379,10 +379,8 @@ def is_pybricks_usb(dev):
379
hub._enable_line_handler = True
380
await hub.download(script_path)
381
382
- if not args.stay_connected:
383
- return
384
-
385
- await stay_connected_menu(hub)
+ if args.stay_connected:
+ await stay_connected_menu(hub)
386
387
except SyntaxError as e:
388
print("\nA syntax error occurred while parsing your program:")
0 commit comments