Updated mturk.py to work with all versions of MySQL-python