diff --git a/extra/pydes/pyDes.py b/extra/pydes/pyDes.py index 01c0d18d0..110e4fc8d 100644 --- a/extra/pydes/pyDes.py +++ b/extra/pydes/pyDes.py @@ -230,7 +230,7 @@ class _baseDes(object): # there is no way to correctly decode the data into bytes. if _pythonMajorVersion < 3: if isinstance(data, unicode): - data = str(data) + data = str(data) else: if isinstance(data, str): # Only accept ascii unicode values.