correctly check if python-gnupg is installed
This commit is contained in:
parent
638843ba08
commit
58341e9742
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ except ImportError:
|
|||
HAVE_GPG = True
|
||||
GPG_BINARY = 'gpg'
|
||||
try:
|
||||
__import__('gnupg', globals(), locals(), [], 0)
|
||||
__import__('gnupg')
|
||||
except ImportError:
|
||||
HAVE_GPG = False
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue