Skip to content

Commit

Permalink
#99 removed obsolete debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
ephes committed Aug 12, 2023
1 parent ccabbae commit 2ee93e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cast/management/commands/media_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ def handle(self, *args, **options):
print("production or backup storage not configured")
return
for num, path in enumerate(storage_walk_paths(production_storage)):
print("path: ", path)
if not backup_storage.exists(path):
print("not in backup storage")
with production_storage.open(path, "rb") as in_f:
backup_storage.save(path, in_f)
if num % 100 == 0:
Expand Down

0 comments on commit 2ee93e8

Please sign in to comment.