Closed pierretamisier closed 4 years ago
Peloton is not a requirement - try this commit https://github.com/ethanopp/fitly/commit/2a25df2f3c7a7cfeccacda4ac3220c2c71ab7c22
Did a quick git pull but still the same issue. I'll keep investigating tomo.
Sorry missed a line... this should do it: https://github.com/ethanopp/fitly/commit/df814662b565c5805f21fe1b9eff71a6b5c2f40e
This commit worked thanks! The pelotonClientError doesn't get displayed anymore when loading up the app.
Are the peloton credentials required to use all the features of the app? Either way, for some reason, the below exception in pelotonApi._create_api_session(cls) is never raised. I don't have any login/pwd for peloton in the config.
Not sure how the "is None" is supposed to work but print(cls.peloton_username) outputs 2 spaces.
This leads to receiving an error 401 when making the API call for pelotonApi.get_class_types.