Check both possible paths for media files

This commit is contained in:
tcely 2025-02-14 19:26:12 -05:00 committed by GitHub
parent 844b4b0493
commit 9045bed509
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -454,9 +454,7 @@ def download_media(media_id):
f'it is now marked to be skipped, not downloading')
return
downloaded_file_exists = (
media.media_file and
media.media_file.path and
media.filepath.samefile(media.media_file.path) and
media.media_file_exists or
media.filepath.exists()
)
if media.downloaded and downloaded_file_exists: