Skip to content

Commit 53c84e3

Browse files
Remove debug code in quickstart
1 parent 3bbd903 commit 53c84e3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/quickstart/client/main.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import sys
2-
3-
sys.path.insert(0, "../../../src")
4-
51
import asyncio
62
from multiprocessing import Queue
73
import threading
@@ -24,7 +20,7 @@ def run_client(spacetime_client):
2420
spacetime_client.run(
2521
local_config.get_string("auth_token"),
2622
"localhost:3000",
27-
"chat3",
23+
"chat",
2824
False,
2925
on_connect,
3026
["SELECT * FROM User", "SELECT * FROM Message"],
@@ -39,7 +35,7 @@ def input_loop():
3935
user_input = input()
4036
if len(user_input) == 0:
4137
return
42-
if user_input.startswith("/name "):
38+
elif user_input.startswith("/name "):
4339
input_queue.put(("name", user_input[6:]))
4440
else:
4541
input_queue.put(("message", user_input))

0 commit comments

Comments
 (0)