Update tintin.py

Added generic error handling for network issues.