chore: update import

This commit is contained in:
aclist committed 2026-11-22 14:44:41 +09:00
1 parent 6dd053af8c
commit 9619047147
1 file changed
+1 -2
+1 -2
View File
@@ -7,7 +7,6 @@ from importlib import resources
from dzgui.const.constants import APP_NAME, APP_NAME_LOWER, CHANGELOG_PATH
from dzgui.strings import changelog as clog
from dzgui.util.strings import missing_changelog
from dzgui.util.format import format_pango
from dzgui.views.mixins.help_menu_mixin import HelpMenuMixin
from dzgui.views.mixins.scrollable_mixin import ScrollableMixin
@@ -31,7 +30,7 @@ class Changelog(HelpMenuMixin, ScrollableMixin, Gtk.ScrolledWindow): # type: ig
changelog = resources.read_text(APP_NAME_LOWER, CHANGELOG_PATH)
except OSError as e:
logger.critical(e)
changelog = missing_changelog
changelog = clog.missing_changelog
self.controller = controller
self.box = Gtk.Box(