Fix issue where creating an empty workout would show a blank set 'None x None Kg'

This commit is contained in:
Peter Stockings
2024-11-04 23:21:12 +11:00
parent 5938c9468b
commit 05158d8f43

View File

@@ -71,6 +71,7 @@ class Calendar:
'sets': []
}
if row['topset_id']:
workouts_by_date[workout_date_str][workout_id]['sets'].append({
'repetitions': row['repetitions'],
'weight': row['weight'],