mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-25 17:35:25 +02:00
silly deletion issue
This commit is contained in:
parent
0dea3c0720
commit
15ef88aa61
1 changed files with 0 additions and 3 deletions
|
@ -500,8 +500,6 @@ def clean_up_server_files(num_copies):
|
|||
for i in range(num_copies):
|
||||
dest_path = f"./server_data_{i}/"
|
||||
delete_server_files(dest_path)
|
||||
|
||||
|
||||
|
||||
def copy_server_files(source_path, dest_path):
|
||||
"""Copy server files to the specified location."""
|
||||
|
@ -535,7 +533,6 @@ def delete_server_files(dest_path):
|
|||
print(f"Server files deleted from {dest_path}")
|
||||
except Exception as e:
|
||||
print(f"Error deleting server files: {e}")
|
||||
delete_server_files(dest_path)
|
||||
if not os.path.exists(dest_path):
|
||||
print("Server files deleted successfully.")
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue