mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-05 18:34:52 +00:00
Fix unicode bug from python3 conversion
This commit is contained in:
@ -16,4 +16,4 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
r = Random.new()
|
r = Random.new()
|
||||||
key = r.read(32)
|
key = r.read(32)
|
||||||
print(base64.b64encode(key))
|
print(base64.b64encode(key).decode('ascii'))
|
||||||
|
Reference in New Issue
Block a user