Update tsformat.py

delete unnecessary imported module