mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
d0ea6b31c4
commit
24ece3b623
@ -108,11 +108,11 @@ def upgrade_date(root, data):
|
||||
if not val:
|
||||
remove_element(date, data.refines)
|
||||
continue
|
||||
if not found:
|
||||
found = True
|
||||
continue
|
||||
if not val or found: # only one dc:date allowed
|
||||
if found:
|
||||
# only one dc:date allowed
|
||||
remove_element(date, data.refines)
|
||||
else:
|
||||
found = True
|
||||
|
||||
|
||||
def upgrade_rating(root, data):
|
||||
|
Loading…
x
Reference in New Issue
Block a user