mirror of https://git.sr.ht/~cadence/NewLeaf
Quote json keys correctly
This commit is contained in:
parent
f0c9708d99
commit
18f5ef4c62
4
index.py
4
index.py
|
@ -69,8 +69,8 @@ class NewLeaf(object):
|
||||||
[ucid, part] = suffix
|
[ucid, part] = suffix
|
||||||
else:
|
else:
|
||||||
return {
|
return {
|
||||||
error: "Two components specified in URL, but neither component was recognised as a part keyword.",
|
"error": "Two components specified in URL, but neither component was recognised as a part keyword.",
|
||||||
identifier: "PART_KEYWORD_NOT_RECOGNISED"
|
"identifier": "PART_KEYWORD_NOT_RECOGNISED"
|
||||||
}
|
}
|
||||||
|
|
||||||
if part == "playlists":
|
if part == "playlists":
|
||||||
|
|
Loading…
Reference in New Issue