get_blender_id_oauth_token() now consistently returns a str

Before it could return either of str, tuple, or None.
This commit is contained in:
2017-10-17 12:16:56 +02:00
parent a897282400
commit 88ffd64706
2 changed files with 5 additions and 7 deletions

View File

@@ -126,8 +126,6 @@ def validate_token():
from pillar import auth
token = auth.get_blender_id_oauth_token()
if token and isinstance(token, (tuple, list)):
token = token[0]
oauth_subclient = None
if not token: