Skip to content

Commit

Permalink
fix/unpacking_zip-deleting-archive (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
l8556 authored Jul 30, 2024
1 parent 105507e commit d327990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host_tools/utils/File.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def unpacking_zip(archive_path: str, execute_path: str, delete_archive: bool = F
archive.extractall(execute_path)

print(f'[green]|INFO| Unpack Completed to: {execute_path}') if stdout else None
File.delete(archive_path) if delete_archive else ...
File.delete(archive_path, stdout=stdout) if delete_archive else ...

@staticmethod
def make_tmp(file_path: str, tmp_dir: str = gettempdir()) -> str:
Expand Down

0 comments on commit d327990

Please sign in to comment.