docker upload directories fixes
This commit is contained in:
@@ -346,7 +346,7 @@ def delete_room(room_id):
|
||||
print(f"Attempting to delete room {room_id} ({room_name})")
|
||||
|
||||
# Delete physical files
|
||||
room_dir = os.path.join('/data/rooms', str(room_id))
|
||||
room_dir = os.path.join('/app/uploads/rooms', str(room_id))
|
||||
if os.path.exists(room_dir):
|
||||
shutil.rmtree(room_dir)
|
||||
print(f"Deleted room directory: {room_dir}")
|
||||
|
||||
Reference in New Issue
Block a user