mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 13:06:34 +00:00
Check both possible paths for media files
This commit is contained in:
parent
844b4b0493
commit
9045bed509
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user