fml
This commit is contained in:
parent
143cd8dc96
commit
e644a0a0ca
|
@ -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."
|
||||
|
|
Reference in a new issue