Updated site search function, fixing associated plugin

This commit is contained in:
Steven Smith 2013-09-13 17:17:15 +08:00
parent d9f613f6f4
commit 1bba6262bc

View file

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