Skip to content

Commit

Permalink
Fix logic for overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
sfegan committed Oct 17, 2024
1 parent a8e9baa commit 92e86b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/io/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ def do_single_upload_from_io(self, rel_filepath, mime_type, iostream):
if(os.path.exists(abs_path)):
if(self.overwrite):
if(self.loud):
print("Skipping:",rel_filepath)
return None
print("Updating:",rel_filepath)
else:
if(self.loud):
print("Updating:",rel_filepath)
print("Skipping:",rel_filepath)
return None
else:
if(self.loud):
print("Uploading:",rel_filepath)
Expand Down

0 comments on commit 92e86b6

Please sign in to comment.