diff --git a/Webserver/Programs/File_manager/file_manager.py b/Webserver/Programs/File_manager/file_manager.py index 7d53fa8..b1d9526 100644 --- a/Webserver/Programs/File_manager/file_manager.py +++ b/Webserver/Programs/File_manager/file_manager.py @@ -309,8 +309,8 @@ def main(args): for root, dirs, files in os.walk(temp_workfolder): for file in files: os.remove(os.path.join(root, file)) - - os.remove(temp_workfolder) + + os.removedirs(temp_workfolder) else: print("Please pack the files before uploading...")