mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed more bugs
This commit is contained in:
parent
5cf7ca2e9b
commit
e8c316f199
@ -5,7 +5,7 @@ author = {
|
||||
"email":"maloja@krateng.dev",
|
||||
"github": "krateng"
|
||||
}
|
||||
version = 2,9,2
|
||||
version = 2,9,3
|
||||
versionstr = ".".join(str(n) for n in version)
|
||||
links = {
|
||||
"pypi":"malojaserver",
|
||||
|
@ -17,7 +17,7 @@ def uri_to_internal(keys,forceTrack=False,forceArtist=False):
|
||||
filterkeys = {"track":{"artists":keys.getall("artist"),"title":keys.get("title")}}
|
||||
elif "artist" in keys and not forceTrack:
|
||||
filterkeys = {"artist":keys.get("artist")}
|
||||
if "associated" in keys: resultkeys1["associated"] = True
|
||||
if "associated" in keys: filterkeys["associated"] = True
|
||||
else:
|
||||
filterkeys = {}
|
||||
|
||||
|
@ -63,7 +63,7 @@ init_apis(webserver)
|
||||
@webserver.get("/api/s/<pth:path>")
|
||||
@webserver.post("/api/s/<pth:path>")
|
||||
def deprecated_api_s(pth):
|
||||
redirect("/apis/" + pth + "?" + compose_querystring(request.query))
|
||||
redirect("/apis/" + pth + "?" + request.query_string)
|
||||
|
||||
@webserver.get("/api/<pth:path>")
|
||||
@webserver.post("/api/<pth:path>")
|
||||
|
Loading…
Reference in New Issue
Block a user