Check if Cryptodome is installed
This commit is contained in:
parent
1d1873661e
commit
d93a1a05cf
|
@ -25,6 +25,11 @@ from gajim.common import app
|
||||||
|
|
||||||
log = logging.getLogger('gajim.p.otr')
|
log = logging.getLogger('gajim.p.otr')
|
||||||
|
|
||||||
|
try: from Cryptodome import *
|
||||||
|
except ImportError as e:
|
||||||
|
log.error(e)
|
||||||
|
ERROR = 'Cryptodome is missing'
|
||||||
|
|
||||||
if not ERROR:
|
if not ERROR:
|
||||||
try:
|
try:
|
||||||
from . import module
|
from . import module
|
||||||
|
|
Loading…
Reference in a new issue