mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 04:43:07 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ def oldest_check(self):
|
|||
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…
Reference in a new issue