mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-05-23 19:17:41 +08:00
commit
35fb654ecb
@ -61,7 +61,7 @@ async def get_response(retry = 0):
|
||||
async def get_script():
|
||||
req = await get_response()
|
||||
if (req.status == 200):
|
||||
with open('./lx-music-source-example.js', 'w') as f:
|
||||
with open('./lx-music-source-example.js', 'w', encoding='utf-8') as f:
|
||||
f.write(req.text)
|
||||
f.close()
|
||||
logger.info('更新源脚本成功')
|
||||
|
Loading…
x
Reference in New Issue
Block a user