diff --git a/comicapi/comicinfoxml.py b/comicapi/comicinfoxml.py index 646d032..86e5d26 100644 --- a/comicapi/comicinfoxml.py +++ b/comicapi/comicinfoxml.py @@ -229,7 +229,7 @@ class ComicInfoXml: md.year = utils.xlate(get('Year'), True) md.month = utils.xlate(get('Month'), True) md.day = utils.xlate(get('Day'), True) - md.seriesYear = utils.xlate('SeriesYear', True) + md.seriesYear = utils.xlate(get('SeriesYear'), True) md.publisher = utils.xlate(get('Publisher')) md.imprint = utils.xlate(get('Imprint')) md.genre = utils.xlate(get('Genre')) diff --git a/comictaggerlib/taggerwindow.py b/comictaggerlib/taggerwindow.py index c9c3d05..aa178ef 100644 --- a/comictaggerlib/taggerwindow.py +++ b/comictaggerlib/taggerwindow.py @@ -812,7 +812,7 @@ class TaggerWindow(QtWidgets.QMainWindow): assignText(self.lePubMonth, md.month) assignText(self.lePubYear, md.year) assignText(self.lePubDay, md.day) - assignText(self.leSeriesPubYear, str(md.seriesYear or "").lstrip("0")) + assignText(self.leSeriesPubYear, md.seriesYear) assignText(self.leGenre, md.genre) assignText(self.leImprint, md.imprint) assignText(self.teComments, md.comments)