Skip to content

Commit

Permalink
trying remove dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Nov 25, 2024
1 parent 404d966 commit a93ef6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Webserver/Programs/File_manager/file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...")

Expand Down

0 comments on commit a93ef6e

Please sign in to comment.