Better messaging
This commit is contained in:
parent
4e416cef44
commit
1a8f6b9cfd
|
@ -256,9 +256,9 @@ class Device:
|
||||||
try:
|
try:
|
||||||
async with websockets.connect(WS_URL) as websocket:
|
async with websockets.connect(WS_URL) as websocket:
|
||||||
if CAMERA_ENABLED:
|
if CAMERA_ENABLED:
|
||||||
print("\nPress the spacebar to start/stop recording. Press 'c' to capture an image from the camera. Press CTRL-C to exit.")
|
print("\nHold the spacebar to start recording. Press 'c' to capture an image from the camera. Press CTRL-C to exit.")
|
||||||
else:
|
else:
|
||||||
print("\nPress the spacebar to start/stop recording. Press CTRL-C to exit.")
|
print("\Hold the spacebar to start recording. Press CTRL-C to exit.")
|
||||||
|
|
||||||
asyncio.create_task(self.message_sender(websocket))
|
asyncio.create_task(self.message_sender(websocket))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue