Missing import

parent a88e8d4f
...@@ -24,9 +24,11 @@ try: ...@@ -24,9 +24,11 @@ try:
md5 = hashlib md5 = hashlib
md5.new = hashlib.md5 md5.new = hashlib.md5
sha1 = hashlib.sha1 sha1 = hashlib.sha1
sha256 = hashlib.sha256
except: except:
import md5 import md5
import sha1 import sha1
import sha256
class ConvenienceCaller(object): class ConvenienceCaller(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment