Skip to content

Commit

Permalink
✨ feat: 修复字符串格式化报错
Browse files Browse the repository at this point in the history
  • Loading branch information
nichuanfang committed Oct 11, 2023
1 parent 6233fa8 commit 03ccb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def download(url:str,title:str=None,cover_url:str=None):
mp3.add_album(album)
else:
if 'uploader' in info:
mp3.add_album(f'{title-{info["uploader"]}}')
mp3.add_album(f'{title}-{info["uploader"]}')
else:
mp3.add_album(title+'-Unknown Artist')
mp3.add_title(title.replace(' ','').replace('?','').replace('#',''))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='music-tool-kit',
version='0.1.8',
version='0.1.9',
description='A tool kit for music download and clip',
long_description_content_type='text/markdown',
long_description=readme,
Expand Down

0 comments on commit 03ccb30

Please sign in to comment.