Private
Public Access
1
0

fixed opaque

This commit is contained in:
Sander Roosendaal
2019-08-11 10:02:38 +02:00
parent fcaf838eea
commit 8716bf2562
2 changed files with 1 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ class OpaqueEncoder:
def decode_hex(self, s):
"""Decode an 8-character hex string, returning the original integer."""
return self.transcode(int(s, 16))
return self.transcode(int(str(s), 16))
def decode_base64(self, s):
"""Decode a 6-character base64 string, returning the original integer."""

Binary file not shown.