Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix error in the workout PDF

Roland Geider7448a13ee882
diff --git a/wger/manager/helpers.py b/wger/manager/helpers.py
index cbf5527d1..69b5e7fab 100644
--- a/wger/manager/helpers.py
+++ b/wger/manager/helpers.py
@@ -106,7 +106,7 @@ def render_workout_day(day, nr_of_weeks=7, images=False, comments=False, only_ta
item_list = [Paragraph('', styleSheet["Small"])]
if comments:
item_list = [
- ListItem(Paragraph(i, style=styleSheet["ExerciseComments"]))
+ ListItem(Paragraph(i.comment, style=styleSheet["ExerciseComments"]))
for i in exercise.exercisecomment_set.all()
]