Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
Clean everything in install folder
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGuardianWolf committed Dec 31, 2019
1 parent 49580b4 commit acc3ab9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions updater/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ def main():
if install_dir_exists:
install_folder_files = os.listdir(install_dir)
for file in install_folder_files:
if "ThunderbirdTray." in file:
os.remove(install_dir.joinpath(file))
os.remove(install_dir.joinpath(file))
else:
install_dir.mkdir(parents=True, exist_ok=True)
log.info(f"Directory {install_dir} created.")
Expand Down

0 comments on commit acc3ab9

Please sign in to comment.