Remove the useless "not skipping" logged messages

This commit is contained in:
tcely 2025-02-19 18:30:45 -05:00 committed by GitHub
parent 5f81c3619f
commit b65a0ff759
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,14 +130,7 @@ def filter_max_cap(instance: Media):
return False
max_cap_age = instance.source.download_cap_date
if not max_cap_age:
log.debug(
f"Media: {instance.source} / {instance} has not max_cap_age "
f"so not skipping based on max_cap_age"
)
return False
if instance.published <= max_cap_age:
if max_cap_age and instance.published <= max_cap_age:
# log new media instances, not every media instance every time
if not instance.skip:
log.info(