mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #7949: Plug Board vs Series metadata change - bad behavior in 0.7.34
This commit is contained in:
parent
c68a36d3c1
commit
19c4afd222
@ -463,6 +463,8 @@ class Metadata(object):
|
|||||||
other_lang = getattr(other, 'language', None)
|
other_lang = getattr(other, 'language', None)
|
||||||
if other_lang and other_lang.lower() != 'und':
|
if other_lang and other_lang.lower() != 'und':
|
||||||
self.language = other_lang
|
self.language = other_lang
|
||||||
|
if not getattr(self, 'series', None):
|
||||||
|
self.series_index = None
|
||||||
|
|
||||||
def format_series_index(self, val=None):
|
def format_series_index(self, val=None):
|
||||||
from calibre.ebooks.metadata import fmt_sidx
|
from calibre.ebooks.metadata import fmt_sidx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user