Update posts.py

new_thread = Thread()