Ramesh-vani commited on
Commit
ee352be
·
verified ·
1 Parent(s): 04817b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(base_path)
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",