Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -422,7 +422,7 @@ async def join(websocket, key):
|
|
| 422 |
|
| 423 |
current_directory = f'projects/{key}/your_project_name/{project_name[0]}'
|
| 424 |
# Send the first move, in case the first player already played it.
|
| 425 |
-
file_structure = await generate_file_structure(
|
| 426 |
# Receive and process moves from the second player.
|
| 427 |
event = {
|
| 428 |
"type": "join",
|
|
|
|
| 422 |
|
| 423 |
current_directory = f'projects/{key}/your_project_name/{project_name[0]}'
|
| 424 |
# Send the first move, in case the first player already played it.
|
| 425 |
+
file_structure = await generate_file_structure(current_directory)
|
| 426 |
# Receive and process moves from the second player.
|
| 427 |
event = {
|
| 428 |
"type": "join",
|