From 407408b1691a665f1432a13c89b9abd7b55feb6b Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 3 Dec 2020 11:45:26 +0000 Subject: space --- tw_hooks/on-add_scheduled_work_task.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tw_hooks/on-add_scheduled_work_task.pl b/tw_hooks/on-add_scheduled_work_task.pl index 4db2812..1c837b2 100755 --- a/tw_hooks/on-add_scheduled_work_task.pl +++ b/tw_hooks/on-add_scheduled_work_task.pl @@ -34,6 +34,7 @@ my $decoded_task = decode_json $added_task; my $original_description = ${$decoded_task}{description}; my $tdelta; my $trepeat; + if (($original_description =~ m/$token_regexes{tdelta}/g)) { $tdelta = "+$1"; $original_description =~ s/$token_regexes{tdelta}//g; # remove the delta time token -- cgit v1.2.3