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