We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 745a588 commit 0633bfdCopy full SHA for 0633bfd
1 file changed
pybricksdev/cli/__init__.py
@@ -237,7 +237,7 @@ def is_pybricks_usb(dev):
237
await hub.download(script_path)
238
239
if not args.stay_connected:
240
- exit()
+ return
241
242
async def reconnect_hub():
243
if not await questionary.confirm(
@@ -285,7 +285,7 @@ async def reconnect_hub():
285
elif response == response_options[1]:
286
287
else:
288
289
290
except HubPowerButtonPressedError:
291
# This means the user pressed the button on the hub to re-start the
0 commit comments