Updated site search function, fixing associated plugin
This commit is contained in:
parent
d9f613f6f4
commit
1bba6262bc
|
@ -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 = ""
|
||||
|
|
Reference in a new issue