TypeError: pycurl.TIMEOUT requires an integer