diff --git a/cdn/static/web/launcher/upload.html b/cdn/static/web/launcher/upload.html index 0fb5bb2..c9b6605 100644 --- a/cdn/static/web/launcher/upload.html +++ b/cdn/static/web/launcher/upload.html @@ -55,7 +55,7 @@
- +
diff --git a/zwift_offline.py b/zwift_offline.py index 8dd5017..16b3c16 100644 --- a/zwift_offline.py +++ b/zwift_offline.py @@ -695,7 +695,7 @@ def upload(username): if request.method == 'POST': uploaded_file = request.files['file'] - if uploaded_file.filename in ['profile.bin', 'strava_token.txt', 'garmin_credentials.txt', 'zwift_credentials.txt']: + if uploaded_file.filename in ['profile.bin', 'achievements.bin', 'strava_token.txt', 'garmin_credentials.txt', 'zwift_credentials.txt']: file_path = os.path.join(profile_dir, uploaded_file.filename) uploaded_file.save(file_path) if uploaded_file.filename == 'garmin_credentials.txt' and credentials_key is not None: