Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 27, 2023
2 parents e572f05 + 3153785 commit 11ce50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaskSystem/src/Common/Tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def downSingle(music, download_home, config):

# 单独下载lrc歌词文件
if saveLyric == True:
with open(localLrcFile, 'w') as f:
with open(localLrcFile, 'w', encoding='utf-8') as f:
f.write(lyric)
else:
print(f"歌词获取失败!服务器上搜索不到此首 [{music['singer']} - {music['title']}] 歌曲歌词!")
Expand Down

0 comments on commit 11ce50c

Please sign in to comment.