getescedition fix 1.1
This commit is contained in:
parent
ebc8c4749f
commit
047130e648
2 changed files with 3 additions and 3 deletions
2
app.py
2
app.py
|
|
@ -56,7 +56,7 @@ def wikisuche(text):
|
|||
def getescedition(songId):
|
||||
statements = wikiapi(songId, "statements")
|
||||
if "P1344" in statements:
|
||||
for statement in statements["partsin"]:
|
||||
for statement in statements["P1344"]:
|
||||
id = statement["value"]["content"]
|
||||
escdata = wikiapi(id, "statements")
|
||||
if escdata["P31"][0]["value"]["content"] == "Q110288240":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue