From a459f7a1a308d2a45e1cce4d4e8003baae88799d Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 6 Dec 2017 18:27:41 +0100 Subject: [PATCH] Workaround broken installation process --- pyrogram/crypto/ige.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyrogram/crypto/ige.py b/pyrogram/crypto/ige.py index ac061188..06bddfe2 100644 --- a/pyrogram/crypto/ige.py +++ b/pyrogram/crypto/ige.py @@ -16,7 +16,11 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see . -from pyaes import AES +# TODO: Workaround +try: + from pyaes import AES +except ImportError: + pass BLOCK_SIZE = 16