[cleanup] Misc
This commit is contained in:
parent
daef791100
commit
31b532a1f2
6 changed files with 20 additions and 20 deletions
|
|
@ -28,7 +28,7 @@ try:
|
|||
except ImportError:
|
||||
try:
|
||||
from Crypto.Cipher import AES as Cryptodome_AES
|
||||
except ImportError:
|
||||
except (ImportError, SyntaxError): # Old Crypto gives SyntaxError in newer Python
|
||||
Cryptodome_AES = None
|
||||
else:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue