Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openpgp/pgpplugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/pgpplugin.py b/openpgp/pgpplugin.py
index 8c63359..750ea73 100644
--- a/openpgp/pgpplugin.py
+++ b/openpgp/pgpplugin.py
@@ -35,7 +35,7 @@ from gajim.plugins.plugins_i18n import _
from openpgp.modules.util import ENCRYPTION_NAME
try:
from openpgp.modules import openpgp
-except ImportError as e:
+except (ImportError, OSError) as e:
ERROR_MSG = str(e)
else:
ERROR_MSG = None