mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-01 06:14:50 +02:00
oops, remove the mistaken tightening of gotmat_field_extended
This commit is contained in:
parent
9ca2f906ba
commit
81a94b287b
1 changed files with 5 additions and 1 deletions
|
|
@ -650,7 +650,11 @@ def format_field_extended(self, key, series_with_index=True):
|
|||
res = self.get(key, None)
|
||||
cmeta = self.get_user_metadata(key, make_copy=False)
|
||||
name = unicode(cmeta['name'])
|
||||
if res in {None, ''}:
|
||||
if cmeta['datatype'] != 'composite' and (res is None or res == ''):
|
||||
return (name, res, None, None)
|
||||
orig_res = res
|
||||
cmeta = self.get_user_metadata(key, make_copy=False)
|
||||
if res is None or res == '':
|
||||
return (name, res, None, None)
|
||||
orig_res = res
|
||||
datatype = cmeta['datatype']
|
||||
|
|
|
|||
Loading…
Reference in a new issue