typo
This commit is contained in:
parent
38665eb00d
commit
02a0f924b4
|
@ -325,7 +325,7 @@ def download_media(media_id):
|
||||||
f'not downloading')
|
f'not downloading')
|
||||||
return
|
return
|
||||||
max_cap_age = media.source.download_cap_date
|
max_cap_age = media.source.download_cap_date
|
||||||
published = instance.published
|
published = media.published
|
||||||
if max_cap_age and published:
|
if max_cap_age and published:
|
||||||
if published <= max_cap_age:
|
if published <= max_cap_age:
|
||||||
log.warn(f'Download task triggered media: {media} (UUID: {media.pk}) but '
|
log.warn(f'Download task triggered media: {media} (UUID: {media.pk}) but '
|
||||||
|
|
Loading…
Reference in New Issue