Commit be4d3648 authored by Clément Schreiner's avatar Clément Schreiner
Browse files

Add check for gpg_path (should be unusable if None)

parent 1c65ded7
......@@ -121,7 +121,7 @@ class GnuPG(object):
elif not os.access(self.gpg_path, os.X_OK):
self.gpg_path = None
if self.default_keyring is None:
if self.gpg_path is None or self.default_keyring is None:
self.unusable = True
@staticmethod
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment