chore: change log text for time_difference check
This commit is contained in:
@@ -478,14 +478,14 @@ class mangaCli:
|
||||
time_difference = time_checker(last_checked, today)
|
||||
|
||||
# if time difference is less than set in the settings and the series status is not ended and the book count is not the same as the total book count, skip the entry
|
||||
if time_difference >= config.komgrabber.cache_check_interval:
|
||||
if time_difference > config.komgrabber.cache_check_interval:
|
||||
komga_series.append(serie)
|
||||
log.debug(
|
||||
f"Added {serie.name} to the checking list, as the last check was {time_difference} days ago"
|
||||
f"Added {serie.name} to the checking list, as the last check was more than {time_difference} days ago"
|
||||
)
|
||||
else:
|
||||
log.debug(
|
||||
f"Skipped {serie.name} as the last check was {time_difference} days ago, whereas the set interval is {config.komgrabber.cache_check_interval} days"
|
||||
f"Skipped {serie.name} as the last check was {time_difference} days ago, but the interval is {config.komgrabber.cache_check_interval} days"
|
||||
)
|
||||
|
||||
time.sleep(0.005)
|
||||
|
||||
Reference in New Issue
Block a user