Fix #7949: Plug Board vs Series metadata change - bad behavior in 0.7.34

This commit is contained in:
Charles Haley 2010-12-19 09:53:12 +00:00
parent c68a36d3c1
commit 19c4afd222

View File

@ -463,6 +463,8 @@ class Metadata(object):
other_lang = getattr(other, 'language', None)
if other_lang and other_lang.lower() != 'und':
self.language = other_lang
if not getattr(self, 'series', None):
self.series_index = None
def format_series_index(self, val=None):
from calibre.ebooks.metadata import fmt_sidx