Spaces:
Running
Running
Update app.py
Browse files
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', ,
|
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
|