Private
Public Access
1
0

v2/file now works

This commit is contained in:
Sander Roosendaal
2022-08-17 02:09:22 +02:00
parent ef1722f963
commit a7773a6f4a
3 changed files with 18 additions and 7 deletions

View File

@@ -328,6 +328,11 @@ try:
except KeyError:
TP_API_LOCATION = "https://api.trainingpeaks.com"
try:
TP_OAUTH_LOCATION = CFG['tp_oauth_location']
except KeyError:
TP_OAUTH_LOCATION = "https://oauth.trainingpeaks.com/oauth/token"
# RP3
RP3_CLIENT_ID = CFG["rp3_client_id"]
RP3_CLIENT_SECRET = CFG["rp3_client_secret"]