From 8b022f123be19ea8520f1cd7d149b4d89d10ddff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Tue, 17 Aug 2021 15:15:17 -0400 Subject: [PATCH] Store the second-most-recent timestamp so it's easy to go back and redo a full parse --- settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.py b/settings.py index 8a8d795..504fe8c 100644 --- a/settings.py +++ b/settings.py @@ -36,6 +36,7 @@ def pomodoro_logpath(): def pomodoro_latest_recorded(timestamp = None): if timestamp: + config.set('pomodoro', 'second_latest_recorded', pomodoro.get('latest_recorded', None)) config.set('pomodoro', 'latest_recorded', str(timestamp)) write() else: