This commit is contained in:
Luke Rogers 2013-09-08 03:50:53 +12:00
parent 143cd8dc96
commit e644a0a0ca

View file

@ -32,8 +32,8 @@ def steamcalc(inp, reply=None):
name = inp.strip()
try:
reply("Collecting data, this may take a few seconds.")
http.get(gauge_url.format(name), timeout=15, get_method='HEAD')
reply("Collecting data, this may take a while.")
http.get(gauge_url.format(name), timeout=25, get_method='HEAD')
request = http.get(api_url.format(name))
except (http.HTTPError, http.URLError):
return "Could not get data for this user."