Skip to content

Commit cc51ca7

Browse files
committed
Reverted encoding by mistake
1 parent 1d41119 commit cc51ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynuodb/crypt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def fromByteString(byteStr):
9595
shiftCount = 0
9696
if systemVersion == '3':
9797
if type(byteStr) is bytes:
98-
byteStr = byteStr.decode('unicode_escaped')
98+
byteStr = byteStr.decode('latin-1')
9999
for b in reversed(byteStr):
100100
result = result | ((ord(b) & 0xff) << shiftCount)
101101
shiftCount = shiftCount + 8

0 commit comments

Comments
 (0)