Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
firefart committed Aug 19, 2023
1 parent 5c02d70 commit 6df250b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def parse_blocks(jobs: Queue, connection_string: str):
day = int(date[6:8])
# some sanity checks for dates
if month >= 1 and month <=12 and day >= 1 and day <= 31:
last_modified = f"{year}-{month}-{day}"
last_modified = f"{year}-{month}-{day}".encode("utf-8")
else:
logger.debug(f"ignoring invalid changed date {date}")
else:
Expand Down

0 comments on commit 6df250b

Please sign in to comment.