Fix seriesYear handling

This commit is contained in:
lordwelch 2019-09-11 14:40:10 -07:00
parent cb9db19073
commit cd4097f0c0
2 changed files with 2 additions and 2 deletions

View File

@ -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'))

View File

@ -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)