1
0
mirror of https://git.sr.ht/~cadence/NewLeaf synced 2024-12-22 13:06:59 +00:00

Quote json keys correctly

This commit is contained in:
Cadence Ember 2021-05-14 18:46:46 +12:00
parent f0c9708d99
commit 18f5ef4c62
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17

View File

@ -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":