Skip to content

Commit f7f47a1

Browse files
committed
fix some debian bookworm bugs
1 parent 2ab2125 commit f7f47a1

File tree

2 files changed

+143
-213
lines changed

2 files changed

+143
-213
lines changed

database/scrape_trle_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def get_zip_file_info(lid):
371371

372372
elif redirect_url.startswith("https://trcustoms.org/levels/") and \
373373
redirect_url.split("/")[-1].isdigit():
374-
api_url = f"https://trcustoms.org/api/levels/{redirect_url.split("/")[-1]}/"
374+
api_url = f"https://trcustoms.org/api/levels/{redirect_url.split('/')[-1]}/"
375375
trcustoms_level_dict = scrape_common.get_json(api_url)
376376
files = [_get_trcustoms_download_info(trcustoms_level_dict)]
377377

0 commit comments

Comments
 (0)