From 6df250b86776f8621f8b9f4758e44df4c4d3aeda Mon Sep 17 00:00:00 2001 From: firefart <105281+firefart@users.noreply.github.com> Date: Sat, 19 Aug 2023 16:39:58 +0200 Subject: [PATCH] fix error --- create_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_db.py b/create_db.py index c8517be..2c09823 100755 --- a/create_db.py +++ b/create_db.py @@ -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: