mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2024-11-14 12:07:30 +00:00
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
|
||||
else:
|
||||
return {
|
||||
error: "Two components specified in URL, but neither component was recognised as a part keyword.",
|
||||
identifier: "PART_KEYWORD_NOT_RECOGNISED"
|
||||
"error": "Two components specified in URL, but neither component was recognised as a part keyword.",
|
||||
"identifier": "PART_KEYWORD_NOT_RECOGNISED"
|
||||
}
|
||||
|
||||
if part == "playlists":
|
||||
|
Loading…
Reference in New Issue
Block a user