allow token in get params at stdout endpoint

This commit is contained in:
Chris Meyers
2015-10-01 13:59:45 -04:00
parent 0bbb294e83
commit 22f0a4b79a
3 changed files with 14 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ class AuthToken(BaseModel):
def reason_long(reason):
for x in AuthToken.REASON_CHOICES:
if x[0] == reason:
return x[1]
return unicode(x[1])
return None
@classmethod