From 308055dbdb258009af1fe5b90868914b86204aeb Mon Sep 17 00:00:00 2001 From: Masato TOYOSHIMA Date: Mon, 3 Feb 2025 08:26:13 +0900 Subject: [PATCH] Resolve "Readme and other PAGES do not load." Readme, release information, and other PAGES do not load and display. Fixed a bug that the file name was not assigned when default_locale was used. --- src/manjaro_hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 0487021..4aefba4 100755 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -374,7 +374,7 @@ class Hello(Gtk.Window): """ filename = f"{self.preferences["data_path"]}/pages/{self.usr_prefs["locale"]}/{name}" if not os.path.isfile(filename): - f"{self.preferences["data_path"]}/pages/{self.preferences["default_locale"]}/{name}" + filename = f"{self.preferences["data_path"]}/pages/{self.preferences["default_locale"]}/{name}" try: with open(filename, "r") as fil: return fil.read()