mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-03 00:46:09 +01:00
...
This commit is contained in:
parent
ba22e309d0
commit
5dcdfefced
1 changed files with 1 additions and 1 deletions
|
|
@ -1373,7 +1373,7 @@ def tags_older_than(self, tag, delta):
|
|||
if r is not None:
|
||||
if (now - r[self.FIELD_MAP['timestamp']]) > delta:
|
||||
tags = r[self.FIELD_MAP['tags']]
|
||||
tags = tags.lower().split() if tags else []
|
||||
tags = tags.lower().split(',') if tags else []
|
||||
tags = [tag.strip() for tag in tags if tag.strip()]
|
||||
if tag in tags:
|
||||
yield r[self.FIELD_MAP['id']]
|
||||
|
|
|
|||
Loading…
Reference in a new issue