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