Minor tweak for Python 2.2.2
Status: Beta
Brought to you by:
codon
If you're getting "Data to decrypt must be a string"
from the AES module and you're sending it a string,
odds are this is what you need:
aes.py, line 192
Old:
if str(type(data)) != "<type 'string'>":
raise TypeError('Data to decrypt must be a string!')
New:
if type(data) != type(""):
raise TypeError('Data to ...
--------
Somewhere along the line the return value of
type(stringvar) changed from <type 'string'> to <type
'str'>. This adjustment should work for any version of
Python.