mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
BUg #7090 - Fix ISBN in save templates
This commit is contained in:
parent
c145703c12
commit
1942e84378
@ -221,6 +221,11 @@ class Metadata(object):
|
|||||||
v = _data.get(attr, None)
|
v = _data.get(attr, None)
|
||||||
if v is not None:
|
if v is not None:
|
||||||
result[attr] = v
|
result[attr] = v
|
||||||
|
# separate these because it uses the self.get(), not _data.get()
|
||||||
|
for attr in TOP_LEVEL_CLASSIFIERS:
|
||||||
|
v = self.get(attr, None)
|
||||||
|
if v is not None:
|
||||||
|
result[attr] = v
|
||||||
for attr in _data['user_metadata'].iterkeys():
|
for attr in _data['user_metadata'].iterkeys():
|
||||||
v = self.get(attr, None)
|
v = self.get(attr, None)
|
||||||
if v is not None:
|
if v is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user