Update findtitle.py

Fixed a small bug