Update valvesounds.py
This commit is contained in:
parent
e8947a603b
commit
b460fb2fd2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def get_sound_info(game, search):
|
|||
request = urllib2.Request(url)
|
||||
request.add_header('User-Agent', http.ua_cloudbot)
|
||||
opener = urllib2.build_opener()
|
||||
return json.loads(opener.open(request))
|
||||
return json.loads(opener.open(request).read())
|
||||
|
||||
search = search.replace(" ", "+")
|
||||
try:
|
||||
|
|
Reference in a new issue