timelog

GTimeLog compatible command line tools
git clone https://git.ce9e.org/timelog.git

commit
fcfb19ef4f58682119761df13107c2c850702615
parent
edd062dd26512114019353435b539ddac83d4def
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-03-09 14:41
fix check

Diffstat

M vtimelog 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/vtimelog b/vtimelog

@@ -259,7 +259,7 @@ if __name__ == '__main__':
  259   259 		)
  260   260 
  261   261 	if args.check:
  262    -1 		for entry, prev in pairwise(q.all()):
   -1   262 		for prev, entry in pairwise(q.all()):
  263   263 			delta = entry['dt'] - prev['dt']
  264   264 			if delta < timedelta(0) or (
  265   265 				'**' not in entry['comment'] and delta > timedelta(hours=12)