Skip to content

Commit

Permalink
🐛 Fix rotate logic
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Jan 31, 2025
1 parent 2358ccf commit 558acbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/rotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def handler(fnbase: str, fmt: str, bio: BytesIO):
with gzip.open(bio, "rb") as fh:
data = fh.read()
fmt = "tif"
else:
data = bio.getvalue()

for i in range(10, -1, -1):
oldfp = f"{BASE}/{fnbase}{i}.{fmt}"
Expand Down

0 comments on commit 558acbc

Please sign in to comment.