diff --git a/app.py b/app.py index 97ece8a..fd6bac6 100644 --- a/app.py +++ b/app.py @@ -472,10 +472,6 @@ def my_utility_processor(): return 'bg-gray-200' return '' - def get_list_of_people_and_workout_count(): - person_id = request.view_args.get('person_id') - return db.get_people_and_workout_count(person_id) - def get_first_element_from_list_with_matching_attribute(list, attribute, value): if not list: return None @@ -495,7 +491,7 @@ def my_utility_processor(): def list_to_string(list): return [str(i) for i in list] - return dict(get_list_of_people_and_workout_count=get_list_of_people_and_workout_count, is_selected_page=is_selected_page, get_first_element_from_list_with_matching_attribute=get_first_element_from_list_with_matching_attribute, in_list=in_list, strftime=strftime, datetime=datetime, timedelta=timedelta, relativedelta=relativedelta, first_and_last_visible_days_in_month=first_and_last_visible_days_in_month, list_to_string=list_to_string, quote=quote) + return dict(is_selected_page=is_selected_page, get_first_element_from_list_with_matching_attribute=get_first_element_from_list_with_matching_attribute, in_list=in_list, strftime=strftime, datetime=datetime, timedelta=timedelta, relativedelta=relativedelta, first_and_last_visible_days_in_month=first_and_last_visible_days_in_month, list_to_string=list_to_string, quote=quote) if __name__ == '__main__': diff --git a/templates/base.html b/templates/base.html index bb22023..5d5172c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -79,10 +79,7 @@