mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
oops, remove the mistaken tightening of gotmat_field_extended
This commit is contained in:
parent
9ca2f906ba
commit
81a94b287b
@ -650,7 +650,11 @@ class Metadata(object):
|
|||||||
res = self.get(key, None)
|
res = self.get(key, None)
|
||||||
cmeta = self.get_user_metadata(key, make_copy=False)
|
cmeta = self.get_user_metadata(key, make_copy=False)
|
||||||
name = unicode(cmeta['name'])
|
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)
|
return (name, res, None, None)
|
||||||
orig_res = res
|
orig_res = res
|
||||||
datatype = cmeta['datatype']
|
datatype = cmeta['datatype']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user