fix handling of id

This commit is contained in:
Thomas Peetz
2025-06-15 05:31:42 +02:00
parent 529a199262
commit 435de2ec92
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ def is_file_downloaded(media_file: dict, dir: Path) -> FileStatus:
file_with_id_as_name = Path(dir, f"{file_name_as_id}.mp4")
if file_with_id_as_name.exists():
log.info(f"{file_with_id_as_name} has been downloaded and renamed")
media_file['cloud_link'] = file_with_id_as_name
media_file['cloud_link'] = str(file_with_id_as_name)
media_file['should_download'] = False
return FileStatus.RENAMED
log.info("could not find file - start download")