mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 21:16:38 +00:00
Remove the useless "not skipping" logged messages
This commit is contained in:
parent
5f81c3619f
commit
b65a0ff759
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user