diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/isodumper.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index f8d9171..01c825c 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -333,7 +333,13 @@ class IsoDumper(basedialog.BaseDialog): self.sum_type = 'sha3' sig_file = "{}.{}.gpg".format(source, self.sum_type) self.source_file = "{}.{}".format(source, self.sum_type) - keys_list = gpg.list_keys() + try: + keys_list = gpg.list_keys() + except Exception as e: + self.signature_found = False + logging.error(str(e)) + logging.info(_("GPG signatures database can not be read")) + return key_present = False for entry in keys_list: if (mageia_keyid == entry['keyid']): |