mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-31 13:14:57 +01:00
Tweak metadata save/reuse.
This commit is contained in:
parent
b2411d5888
commit
44e3d07195
1 changed files with 3 additions and 1 deletions
|
|
@ -1004,7 +1004,7 @@ class FanFicFarePlugin(InterfaceAction):
|
|||
|
||||
if label: # only if it has a human readable name.
|
||||
book['calibre_columns'][key]={'val':value,'label':label}
|
||||
logger.debug("%s(%s): %s"%(label,key,value))
|
||||
#logger.debug("%s(%s): %s"%(label,key,value))
|
||||
|
||||
# custom columns
|
||||
for k, column in self.gui.library_view.model().custom_columns.iteritems():
|
||||
|
|
@ -1015,6 +1015,8 @@ class FanFicFarePlugin(InterfaceAction):
|
|||
label=column['label'],
|
||||
index_is_id=True)
|
||||
# custom always have name.
|
||||
if value is None:
|
||||
value=''
|
||||
book['calibre_columns'][key]={'val':value,'label':label}
|
||||
# logger.debug("%s(%s): %s"%(label,key,value))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue