Merge pull request #457 from chrismeyersfsu/fix-stdout_dl_token

allow token in get params at stdout endpoint
This commit is contained in:
Chris Meyers
2015-10-02 08:59:07 -04:00
3 changed files with 14 additions and 2 deletions

View File

@@ -210,7 +210,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