Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Used cached version if available

Roland Geiderc12115f2db80
diff --git a/wger/manager/models.py b/wger/manager/models.py
index b6a1257a2..2c4e0b470 100644
--- a/wger/manager/models.py
+++ b/wger/manager/models.py
@@ -132,8 +132,7 @@ class Workout(models.Model):
caches are not needed anymore.
"""
workout_canonical_form = cache.get(cache_mapper.get_workout_canonical(self.pk))
- #if not workout_canonical_form:
- if True:
+ if not workout_canonical_form:
day_canonical_repr = []
muscles_front = []
muscles_back = []