Make the sub a string

In the default sub generator. The spec says "The sub value is a case
sensitive string."
This commit is contained in:
Sjoerd Langkemper 2015-07-15 12:17:21 +02:00
parent 00f30dabbf
commit 0882c5c63b

View file

@ -56,7 +56,7 @@ class DefaultSettings(object):
OPTIONAL.
"""
def default_sub_generator(user):
return user.id
return str(user.id)
return default_sub_generator