Workaround broken installation process

This commit is contained in:
Dan 2017-12-06 18:27:41 +01:00
parent 98a7420416
commit a459f7a1a3

View File

@ -16,7 +16,11 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
from pyaes import AES
# TODO: Workaround
try:
from pyaes import AES
except ImportError:
pass
BLOCK_SIZE = 16