Merge pull request #1146 from AndPim4912/GetGpt-debian-compat

Update GetGpt provider for Debian python3-pycryptodome compatibility
This commit is contained in:
Tekky 2023-10-24 19:42:11 +01:00 committed by GitHub
commit 6363353670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@ import os
import uuid
import requests
from Crypto.Cipher import AES
try:
from Crypto.Cipher import AES
except ImportError:
from Cryptodome.Cipher import AES
from ...typing import Any, CreateResult
from ..base_provider import BaseProvider