mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
TI-32: taskwarrior hook script doesn't stop recording waiting task
- Thanks to Yury Videneev.
This commit is contained in:
parent
0da2fb7d4b
commit
e4daeb2078
3 changed files with 4 additions and 4 deletions
1
AUTHORS
1
AUTHORS
|
@ -49,3 +49,4 @@ suggestions:
|
|||
Mattia Rizzolo
|
||||
m8r
|
||||
Jan Stolarek
|
||||
Yury Videneev
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
(thanks to hosaka).
|
||||
- TI-29 timew config can't add new value
|
||||
(thanks to Yury Vidineev)
|
||||
- TI-32 taskwarrior hook script doesn't stop recording waiting task
|
||||
(thanks to Yury Videneev).
|
||||
- TI-39 Bogus command line option causes segfault
|
||||
(thanks to Jan Stolarek, Thomas Lauf).
|
||||
- TI-40 totals.py extension script fails with an error
|
||||
|
|
|
@ -63,10 +63,7 @@ if 'start' in new and not 'start' in old:
|
|||
elif not 'start' in new and 'start' in old:
|
||||
os.system('timew stop ' + combined.decode() + ' :yes')
|
||||
|
||||
# TI-51 - in the taskwarrior hook, deleting a task doesn't stop the watch
|
||||
#
|
||||
# Broadened to: Any task that is active, with a non-pending status should not
|
||||
# be tracked.
|
||||
# Any task that is active, with a non-pending status should not be tracked.
|
||||
elif 'start' in new and new['status'] != 'pending':
|
||||
os.system('timew stop ' + combined.decode() + ' :yes')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue