diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-30 15:33:54 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-30 15:33:54 -0500 |
| commit | c3badffbc3e3012477831868f72e35bd6cc1fe62 (patch) | |
| tree | 764ba8c8f0f408027dd910af683fd9195da58dd3 /app/routes/workout.py | |
| parent | f093b46d5ba76faa66a43c95c22f9240f8870902 (diff) | |
| download | Strengthy-c3badffbc3e3012477831868f72e35bd6cc1fe62.tar.xz Strengthy-c3badffbc3e3012477831868f72e35bd6cc1fe62.zip | |
Finally figured out /workout/record was missing rows
Diffstat (limited to 'app/routes/workout.py')
| -rw-r--r-- | app/routes/workout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/routes/workout.py b/app/routes/workout.py index 1d46aed..c8adc4e 100644 --- a/app/routes/workout.py +++ b/app/routes/workout.py @@ -114,13 +114,13 @@ def workout_record(): # Interate over form exercise entries for ee in form.exercises.entries: + id = ee.data["id"] # And over that exercise's sets for se in ee.sets.entries: lbs = se.data["lbs"] units = se.data["units"] - print(id, lbs, units) if lbs and units: # Add the set to the workout record |
