Skip to content

Commit

Permalink
There should never be a downloads.zip folder there - and if there i…
Browse files Browse the repository at this point in the history
…s, that'd be a bug that we should squash instead.
  • Loading branch information
BigRoy committed Aug 31, 2024
1 parent 4f6202f commit 337d9ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/ayon_usd/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ def tray_start(self):
download_dir = str(DOWNLOAD_DIR)
os.makedirs(download_dir, exist_ok=True)

if os.path.exists(download_dir + ".zip"):
os.remove(download_dir + ".zip")

if not os.path.exists(ADDON_DATA_JSON_PATH):
now = datetime.now().astimezone(timezone.utc)
with open(ADDON_DATA_JSON_PATH, "w+") as json_file:
Expand Down

0 comments on commit 337d9ac

Please sign in to comment.