X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/0899c6516bd9bf8fdd4bd973106eaa1ffcf67667..6a2d72916b0afe5390f40f4e51a11c7a5b067dea:/pirate_add_shift_recurrence.py?ds=inline diff --git a/pirate_add_shift_recurrence.py b/pirate_add_shift_recurrence.py index 723dfdb..42d0cc0 100644 --- a/pirate_add_shift_recurrence.py +++ b/pirate_add_shift_recurrence.py @@ -2,7 +2,7 @@ import sys import os -from tasklib.task import Task, TaskWarrior +from tasklib.task import TaskWarrior time_attributes = ('wait', 'until', 'scheduled') @@ -18,6 +18,7 @@ def is_new_local_recurrence_child_task(task): return True tw = TaskWarrior(data_location=os.path.dirname(os.path.dirname(sys.argv[0]))) +tw.config.update(dict(recurrence="no")) def hook_shift_recurrence(task): if is_new_local_recurrence_child_task(task):