Skip to content

Commit

Permalink
chore: Merge #19
Browse files Browse the repository at this point in the history
Update lx_script.py
  • Loading branch information
helloplhm-qwq committed Jan 7, 2024
2 parents c286424 + c37fc78 commit 35fb654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lx_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('更新源脚本成功')
Expand Down

0 comments on commit 35fb654

Please sign in to comment.