Fix unicode bug from python3 conversion

This commit is contained in:
Magnus Hagander
2019-11-01 14:55:05 +01:00
parent 12306255ad
commit d2e91e2b8f

View File

@ -16,4 +16,4 @@ if __name__ == "__main__":
r = Random.new()
key = r.read(32)
print(base64.b64encode(key))
print(base64.b64encode(key).decode('ascii'))