From f1d0c798a7a9addf348c8db25c32fbbbe9c59a44 Mon Sep 17 00:00:00 2001 From: zoffline Date: Sat, 31 Mar 2018 16:23:29 -0400 Subject: [PATCH] Fix warning message string --- zwift_offline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zwift_offline.py b/zwift_offline.py index 087ac5b..800b003 100755 --- a/zwift_offline.py +++ b/zwift_offline.py @@ -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