Ramesh-vani commited on
Commit
1af0587
·
verified ·
1 Parent(s): 7cbdc18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ async def delete_item(websocket, key,project_name, path, connected):
95
  websockets.broadcast(connected,str(e))
96
 
97
  async def create_file(websocket, key,project_name, path,name, connected):
98
- file_path = os.path.join(os.getcwd(), 'projects', ,keyproject_name, path,name)
99
  # Create the file
100
  with open(file_path, 'w'):
101
  pass
 
95
  websockets.broadcast(connected,str(e))
96
 
97
  async def create_file(websocket, key,project_name, path,name, connected):
98
+ file_path = os.path.join(os.getcwd(), 'projects', key,project_name, path,name)
99
  # Create the file
100
  with open(file_path, 'w'):
101
  pass