Update tpactions.py

Fixed an indentation in the MarkAsDone that was screwing the outcome.