Merge pull request #172 from xuhdev/fix-159-2
Save the session-key as a unicode string in the db
This commit is contained in:
commit
e5219157a7
@ -7,7 +7,7 @@ import binascii
|
||||
class Preferences:
|
||||
|
||||
defaults = [
|
||||
("session-key", binascii.b2a_hex(os.urandom(24))),
|
||||
("session-key", binascii.b2a_hex(os.urandom(24)).decode('utf-8')),
|
||||
]
|
||||
|
||||
def __init__(self, db):
|
||||
|
Loading…
Reference in New Issue
Block a user