Self hosted FLOSS fitness/workout, nutrition and weight tracker
There are no settings anymore
Roland Geiderce7691bbbaee
diff --git a/wger/exercises/sync.py b/wger/exercises/sync.pyindex dce85c413..99432a28f 100644--- a/wger/exercises/sync.py+++ b/wger/exercises/sync.py@@ -15,14 +15,13 @@# Standard Libraryimport os+# Third Party+import requests# Djangofrom django.conf import settingsfrom django.core.files import Filefrom django.core.files.temp import NamedTemporaryFile-# Third Party-import requests-# wgerfrom wger.core.api.endpoints import (LANGUAGE_ENDPOINT,@@ -296,7 +295,6 @@ def handle_deleted_entries(style_fn=lambda x: x,):if not print_fn:-def print_fn(_):return None@@ -312,7 +310,6 @@ def handle_deleted_entries(if model_type == DeletionLog.MODEL_EXERCISE:obj_replaced = None- nr_settings = Nonenr_slot_entries = Nonenr_logs = Nonetry:@@ -333,8 +330,6 @@ def handle_deleted_entries(obj.delete()print_fn(f'Deleted exercise {uuid}')- if nr_settings:- print_fn(f'- replaced in {nr_settings} in workouts with {replaced_by_uuid}')if nr_slot_entries:print_fn(f'- replaced in {nr_slot_entries} routines with {replaced_by_uuid}')if nr_logs: