Merge pull request #150 from cs50victor/fix/print_error
fix: unsupported escape sequence in string literal
This commit is contained in:
commit
4be9861fb7
|
@ -258,7 +258,7 @@ class Device:
|
||||||
if CAMERA_ENABLED:
|
if CAMERA_ENABLED:
|
||||||
print("\nHold the spacebar to start 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("\Hold the spacebar to start recording. Press CTRL-C to exit.")
|
print("\nHold the spacebar to start recording. Press CTRL-C to exit.")
|
||||||
|
|
||||||
asyncio.create_task(self.message_sender(websocket))
|
asyncio.create_task(self.message_sender(websocket))
|
||||||
|
|
||||||
|
@ -351,4 +351,4 @@ class Device:
|
||||||
def start(self):
|
def start(self):
|
||||||
if os.getenv('TEACH_MODE') != "True":
|
if os.getenv('TEACH_MODE') != "True":
|
||||||
asyncio.run(self.start_async())
|
asyncio.run(self.start_async())
|
||||||
p.terminate()
|
p.terminate()
|
||||||
|
|
Loading…
Reference in New Issue