mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-08-03 09:21:33 -07:00
Fix warning message string
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ def api_profiles_activities_id(player_id, activity_id):
|
||||
with open('%s/strava_token.txt' % STORAGE_DIR, 'r') as f:
|
||||
strava.access_token = f.read().rstrip('\r\n')
|
||||
except:
|
||||
logger.warn("Failed to read %s/strava_token.txt. Skipping Strava upload attempt.")
|
||||
logger.warn("Failed to read %s/strava_token.txt. Skipping Strava upload attempt." % STORAGE_DIR)
|
||||
return response, 200
|
||||
try:
|
||||
# See if there's internet to upload to Strava
|
||||
|
||||
Reference in New Issue
Block a user