mirror of
https://github.com/aclist/dztui.git
synced 2026-11-22 09:29:31 +01:00
chore: update import
This commit is contained in:
1 parent
6dd053af8c
commit
9619047147
1 file changed
+1
-2
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user