Update related_posts.py

Removed new line at end of file