From c7a49b364392ab2275aa34b45917c748c3b72ef3 Mon Sep 17 00:00:00 2001 From: Mizaki Date: Sun, 10 Sep 2023 13:42:17 +0100 Subject: [PATCH] Fix crash with series and issue window if the year is None. Closes #523 --- comictaggerlib/seriesselectionwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comictaggerlib/seriesselectionwindow.py b/comictaggerlib/seriesselectionwindow.py index 8380e73..19b2e20 100644 --- a/comictaggerlib/seriesselectionwindow.py +++ b/comictaggerlib/seriesselectionwindow.py @@ -334,7 +334,7 @@ class SeriesSelectionWindow(QtWidgets.QDialog): title = "" for series in self.series_list.values(): if series.id == self.series_id: - title = f"{series.name} ({series.start_year:04}) - " + title = f"{series.name} ({series.start_year:04}) - " if series.start_year else f"{series.name} - " break selector.setWindowTitle(title + "Select Issue")