mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
commit
32944ef443
@ -582,7 +582,10 @@ class CatalogBuilder(object):
|
||||
if rule['field'].lower() == 'tags':
|
||||
if rule['pattern'].lower() in map(unicode.lower,record['tags']):
|
||||
if self.opts.verbose:
|
||||
_log_prefix_rule_match_info(rule, record, rule['pattern'])
|
||||
self.opts.log.info(" %s '%s' by %s (%s: Tags includes '%s')" %
|
||||
(rule['prefix'],record['title'],
|
||||
record['authors'][0], rule['name'],
|
||||
rule['pattern']))
|
||||
return rule['prefix']
|
||||
|
||||
# Regex match for custom field
|
||||
|
Loading…
x
Reference in New Issue
Block a user