aboutsummaryrefslogtreecommitdiff
path: root/workout
diff options
context:
space:
mode:
Diffstat (limited to 'workout')
-rwxr-xr-xworkout3
1 files changed, 2 insertions, 1 deletions
diff --git a/workout b/workout
index 13ffae4..8688035 100755
--- a/workout
+++ b/workout
@@ -83,7 +83,8 @@ fn setupreps{
fn mkreport{
echo '#'exercise,reps,sets >$wdir/$today
for(i in `{seq 1 $#session})
- echo $exercises($session($i))^,^$reps($i)^,^$sets($i) >>$wdir/$today
+ if(! ~ $sets($i) 0)
+ echo $exercises($session($i))^,^$reps($i)^,^$sets($i) >>$wdir/$today
}
fn start{