Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -393,7 +393,7 @@ async def join(websocket, key):
|
|
393 |
# Register to receive moves from this game.
|
394 |
connected.add(websocket)
|
395 |
try:
|
396 |
-
current_directory = f'projects/{key}'
|
397 |
# Send the first move, in case the first player already played it.
|
398 |
file_structure = await generate_file_structure(current_directory)
|
399 |
# Receive and process moves from the second player.
|
|
|
393 |
# Register to receive moves from this game.
|
394 |
connected.add(websocket)
|
395 |
try:
|
396 |
+
current_directory = f'projects/{key}/'
|
397 |
# Send the first move, in case the first player already played it.
|
398 |
file_structure = await generate_file_structure(current_directory)
|
399 |
# Receive and process moves from the second player.
|