Store the second-most-recent timestamp so it's easy to go back and redo a full parse
This commit is contained in:
parent
7bfb46dff3
commit
8b022f123b
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue