mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression in 0.7.49 that broke deleting of news downloads older than x days. Fixes #9417 (News downloads are not deleted by age or number of issues)
This commit is contained in:
parent
c999b12063
commit
d0d627472f
@ -442,7 +442,7 @@ class Scheduler(QObject):
|
||||
if self.oldest > 0:
|
||||
delta = timedelta(days=self.oldest)
|
||||
try:
|
||||
ids = list(self.recipe_model.db.tags_older_than(_('News'),
|
||||
ids = list(self.db.tags_older_than(_('News'),
|
||||
delta))
|
||||
except:
|
||||
# Happens if library is being switched
|
||||
|
Loading…
x
Reference in New Issue
Block a user