Add logging support to JSON download function in update_mongo.py

This commit is contained in:
2025-12-12 07:37:50 -05:00
parent 24203aff66
commit 097225c942
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ def main() -> int:
else:
url_template = TVMAZE_URLS["showurl"]
seriesid = file.replace('.json', '')
json_downloader.download_json_to_file(url_template.replace("<seriesid>", str(seriesid)), directory, f'{seriesid}.json')
json_downloader.download_json_to_file(url_template.replace("<seriesid>", str(seriesid)), directory, f'{seriesid}.json', lprint)