mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-05-23 19:17:41 +08:00
chore: 删除调试用代码
This commit is contained in:
parent
1dd9056d88
commit
49c6780c5b
1
main.py
1
main.py
@ -120,7 +120,6 @@ async def handle(request):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
query = dict(request.query)
|
query = dict(request.query)
|
||||||
print(query)
|
|
||||||
if (method in dir(modules) and query == {}):
|
if (method in dir(modules) and query == {}):
|
||||||
return handleResult(await getattr(modules, method)(source, songId, quality))
|
return handleResult(await getattr(modules, method)(source, songId, quality))
|
||||||
elif ((method + '_with_query') in dir(modules) and query != {}):
|
elif ((method + '_with_query') in dir(modules) and query != {}):
|
||||||
|
@ -190,7 +190,6 @@ async def other(method, source, songid, _):
|
|||||||
}
|
}
|
||||||
|
|
||||||
async def other_with_query(method, source, t, _, query):
|
async def other_with_query(method, source, t, _, query):
|
||||||
print(method)
|
|
||||||
try:
|
try:
|
||||||
func = require('modules.' + source + '.' + method)
|
func = require('modules.' + source + '.' + method)
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user