mirror of
https://forge.fsky.io/oneflux/gajim-otrplugin.git
synced 2026-02-10 07:52:05 -08:00
Check if Cryptodome is installed
This commit is contained in:
parent
1d1873661e
commit
d93a1a05cf
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,11 @@ from gajim.common import app
|
|||
|
||||
log = logging.getLogger('gajim.p.otr')
|
||||
|
||||
try: from Cryptodome import *
|
||||
except ImportError as e:
|
||||
log.error(e)
|
||||
ERROR = 'Cryptodome is missing'
|
||||
|
||||
if not ERROR:
|
||||
try:
|
||||
from . import module
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue