mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-07-07 06:52:11 +08:00
fix: 修复日志刷屏
This commit is contained in:
@ -21,6 +21,7 @@ logger = log('lx_script')
|
|||||||
async def get_response(retry = 0):
|
async def get_response(retry = 0):
|
||||||
if (retry > 10):
|
if (retry > 10):
|
||||||
logger.warning('请求源脚本内容失败')
|
logger.warning('请求源脚本内容失败')
|
||||||
|
return
|
||||||
baseurl = 'https://raw.githubusercontent.com/lxmusics/lx-music-api-server/main/lx-music-source-example.js'
|
baseurl = 'https://raw.githubusercontent.com/lxmusics/lx-music-api-server/main/lx-music-source-example.js'
|
||||||
try:
|
try:
|
||||||
if (iscn and (retry % 2) == 0):
|
if (iscn and (retry % 2) == 0):
|
||||||
|
Reference in New Issue
Block a user