Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from GalaxeTV/hotfix/remove-zipfile-skip
Browse files Browse the repository at this point in the history
Remove skipping of ZIP files for file upload
  • Loading branch information
garrettsummerfi3ld authored Apr 10, 2023
2 parents 4fbe01c + c81328a commit ea8036f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ def upload_files():
for file in files:
file_path = os.path.join(root, file)
rel_file_path = os.path.relpath(file_path, "./files/default")
if file.endswith(".zip"):
print("Skipping file: " + rel_file_path)
continue
print("Uploading file: " + rel_file_path)
file_upload_url = api.client.servers.files.get_upload_file_url(
server)
Expand Down

0 comments on commit ea8036f

Please sign in to comment.