Skip to content

Commit

Permalink
Automatic linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Github-actions committed Nov 19, 2024
1 parent 427fbfe commit 2405d36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions wger/manager/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
workout_session,
)


# sub patterns for workout logs
patterns_log = [
path(
Expand Down
3 changes: 2 additions & 1 deletion wger/manager/views/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
)
from wger.weight.helpers import process_log_entries


logger = logging.getLogger(__name__)


Expand Down Expand Up @@ -217,7 +218,7 @@ def add(request, pk):
for exercise in exercise_list:
form_id_from = min(exercise_list[exercise]['form_ids'])
form_id_to = max(exercise_list[exercise]['form_ids'])
exercise_list[exercise]['forms'] = formset[form_id_from: form_id_to + 1]
exercise_list[exercise]['forms'] = formset[form_id_from : form_id_to + 1]

context = {
'day': day,
Expand Down

0 comments on commit 2405d36

Please sign in to comment.