From e6bb0b24b171374f8b6cdfee6bbd2c8213b7ccda Mon Sep 17 00:00:00 2001 From: oldnapalm <38410858+oldnapalm@users.noreply.github.com> Date: Wed, 13 May 2020 16:47:04 -0300 Subject: [PATCH] Disable telemetry --- zwift_offline.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zwift_offline.py b/zwift_offline.py index 6855f63..dbc86c9 100644 --- a/zwift_offline.py +++ b/zwift_offline.py @@ -212,6 +212,12 @@ def api_private_event_feed(): return '', 200 +# Disable telemetry (shuts up some errors in log) +@app.route('/api/telemetry/config', methods=['GET']) +def api_telemetry_config(): + return '{"isEnabled":false}' + + @app.route('/api/profiles/me', methods=['GET']) def api_profiles_me(): profile_dir = '%s/%s' % (STORAGE_DIR, selected_profile)