1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-22 07:00:12 +01:00

Python3.5 syntax changes

This commit is contained in:
Robert Sullivan 2017-04-25 15:33:00 +01:00
parent d989c27d36
commit babb3f83d3
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
from datetime import datetime
try:
from Crypto.Cipher import AES
except ImportError, e:
except ImportError as e:
import pyaes
import time

View File

@ -9,7 +9,7 @@ import warnings
try:
import pyaes
dynamic_requires = ["pyaes==1.6.0"]
except ImportError, e:
except ImportError as e:
dynamic_requires = ['pycrypto==2.6.1']
version = 0.3