Skip to content

Commit c38f8d6

Browse files
jimgrahamsynasius
authored andcommitted
fix unicode py 3
1 parent 2978d0f commit c38f8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/oauth2_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def save_bearer_token(self, token, request, *args, **kwargs):
307307
"""
308308

309309
if 'scope' not in token:
310-
raise FatalClientError(u"Failed to renew access token: missing scope")
310+
raise FatalClientError("Failed to renew access token: missing scope")
311311

312312
expires = timezone.now() + timedelta(seconds=oauth2_settings.ACCESS_TOKEN_EXPIRE_SECONDS)
313313

0 commit comments

Comments
 (0)