Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuki
gajim-plugins
Commits
6447da9c
Commit
6447da9c
authored
Apr 24, 2018
by
Philipp Hörist
Browse files
[pgp] Fix dependency check
parent
a70e4f12
Changes
1
Hide whitespace changes
Inline
Side-by-side
pgp/pgpplugin.py
View file @
6447da9c
...
@@ -36,7 +36,13 @@ from gajim.plugins import GajimPlugin
...
@@ -36,7 +36,13 @@ from gajim.plugins import GajimPlugin
log
=
logging
.
getLogger
(
'gajim.plugin_system.oldpgp'
)
log
=
logging
.
getLogger
(
'gajim.plugin_system.oldpgp'
)
ERROR_MSG
=
''
ERROR_MSG
=
''
if
not
app
.
HAVE_GPG
:
if
hasattr
(
app
,
'HAVE_GPG'
):
# Gajim 1.0.0
HAVE_GPG
=
app
.
HAVE_GPG
else
:
# Gajim 1.0.3+
HAVE_GPG
=
app
.
is_installed
(
'GPG'
)
if
not
HAVE_GPG
:
if
os
.
name
==
'nt'
:
if
os
.
name
==
'nt'
:
ERROR_MSG
=
_
(
'Please install GnuPG / Gpg4win'
)
ERROR_MSG
=
_
(
'Please install GnuPG / Gpg4win'
)
else
:
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment