fml
This commit is contained in:
parent
143cd8dc96
commit
e644a0a0ca
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ def steamcalc(inp, reply=None):
|
||||||
name = inp.strip()
|
name = inp.strip()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
reply("Collecting data, this may take a few seconds.")
|
reply("Collecting data, this may take a while.")
|
||||||
http.get(gauge_url.format(name), timeout=15, get_method='HEAD')
|
http.get(gauge_url.format(name), timeout=25, get_method='HEAD')
|
||||||
request = http.get(api_url.format(name))
|
request = http.get(api_url.format(name))
|
||||||
except (http.HTTPError, http.URLError):
|
except (http.HTTPError, http.URLError):
|
||||||
return "Could not get data for this user."
|
return "Could not get data for this user."
|
||||||
|
|
Reference in a new issue