Update tpactions.py
Update tpactions.py

I think I did it (:
Merge pull request #4 from philgruneich/master

Run it (: