Private
Public Access
1
0

making tests run

This commit is contained in:
Sander Roosendaal
2018-11-14 08:43:24 +01:00
parent dddc1e9224
commit a524d65fe2
4 changed files with 16 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ def imports_open(user,oauth_data):
expirydatename,
oauth_data,
)
elif tokenexpirydate is None and 'strava' in expirydatename:
elif tokenexpirydate is None and expirydatename is not None and 'strava' in expirydatename:
token = imports_token_refresh(
user,
tokenname,