Skip to content

Commit

Permalink
update PixelGen and removed the prints from file manager
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Nov 24, 2024
1 parent b7e0a0e commit 023649d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cluster-OS
5 changes: 3 additions & 2 deletions Webserver/Programs/File_manager/file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,13 @@ def main(args):
if pack:
print("Packing items!")
for working_item in list_of_items:
print(f"Moving {working_item} to {temp_workfolder}")
spinner.start(text=f"Moving {working_item} to {temp_workfolder}")

temp_working_item = os.path.join(temp_workfolder, os.path.basename(working_item))
shutil.copy2(working_item, temp_working_item)

spinner.succeed(text=f"Moved {working_item} to {temp_working_item}")
print(f"Moved {working_item} to {temp_working_item}")

spinner.start(text=f"Packing {temp_working_item}")
build_tar(temp_working_item)
spinner.succeed(text=f"Packed {temp_working_item}")
Expand Down

0 comments on commit 023649d

Please sign in to comment.