Merge pull request #158 from blha303/patch-9

Updated site search function, fixing associated plugin
This commit is contained in:
Luke Rogers 2013-09-13 02:17:36 -07:00
commit 8b629ee886

View file

@ -10,7 +10,7 @@ def get_sound_info(game, search):
except HTTPError as e: except HTTPError as e:
return "Error: " + json.loads(e.read())["error"] return "Error: " + json.loads(e.read())["error"]
items = [] items = []
for item in data: for item in data["items"]:
if "music" in game: if "music" in game:
textsplit = item["text"].split('"') textsplit = item["text"].split('"')
text = "" text = ""