When marking a task as done, also clear blocked reason.

This commit is contained in:
Rob Pearce 2022-03-26 22:03:21 +11:00
parent d02a243ff8
commit fef7d5adfc
1 changed files with 2 additions and 0 deletions

2
t.sh
View File

@ -1007,6 +1007,8 @@ function markdone() {
toadd3="COMPLETED:$now" toadd3="COMPLETED:$now"
file="$dir/$uid.vcf" file="$dir/$uid.vcf"
clearstatus "$file"
sed -i "/$str/i $toadd1\n$toadd2\n$toadd3" "$file" sed -i "/$str/i $toadd1\n$toadd2\n$toadd3" "$file"
sedrv=$? sedrv=$?
set_lastmodified $uid set_lastmodified $uid