From 2ea9d820c3d3c986159a196978ce28baaab4c26a Mon Sep 17 00:00:00 2001 From: Papoteur Date: Fri, 19 Dec 2025 18:45:33 +0100 Subject: Fix potential error when GPG database is not found (mga#34867) --- lib/isodumper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/isodumper.py') diff --git a/lib/isodumper.py b/lib/isodumper.py index 3bc9f4f..beaaf8c 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -1198,6 +1198,8 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog return else: self.logger.info(_("The checksum file is signed")) + if self.key_expired: + self.logger.info(_("Info: Key used for the signature has expired. Updated version may be available.")) else: info = Info( _("Warning"), @@ -1211,8 +1213,6 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog else: self.img_name = "" return - if self.key_expired: - self.logger.info(_("Info: Key used for the signature has expired. Updated version may be available.")) self.ima.setLabel(os.path.basename(self.img_name)) self.dialog.recalcLayout() self.activate_devicelist() -- cgit v1.2.1