diff --git a/isso/db/preferences.py b/isso/db/preferences.py index 275819e..28936e4 100644 --- a/isso/db/preferences.py +++ b/isso/db/preferences.py @@ -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):