Skip to content

Commit a459f7a

Browse files
committed
Workaround broken installation process
1 parent 98a7420 commit a459f7a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pyrogram/crypto/ige.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19-
from pyaes import AES
19+
# TODO: Workaround
20+
try:
21+
from pyaes import AES
22+
except ImportError:
23+
pass
2024

2125
BLOCK_SIZE = 16
2226

0 commit comments

Comments
 (0)