mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-28 11:45:19 +01:00
Don't try to set imap tags before checking for 'good' update.
This commit is contained in:
parent
12ee3dae5e
commit
1fc4f3d70b
1 changed files with 3 additions and 3 deletions
|
|
@ -1798,14 +1798,14 @@ class FanFicFarePlugin(InterfaceAction):
|
|||
errorcol_label=None,
|
||||
lastcheckedcol_label=None):
|
||||
try:
|
||||
if options.get('add_tag',False):
|
||||
book['tags'].extend(options.get('add_tag').split(','))
|
||||
|
||||
self.update_error_column_loop(book,db,errorcol_label,lastcheckedcol_label)
|
||||
|
||||
if not book['good']:
|
||||
return # on error, only update errorcol
|
||||
|
||||
if options.get('add_tag',False):
|
||||
book['tags'].extend(options.get('add_tag').split(','))
|
||||
|
||||
logger.debug("add/update %s %s id(%s)"%(book['title'],book['url'],book['calibre_id']))
|
||||
mi = self.make_mi_from_book(book)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue