Browse Source

Add missing extension

Deben Oldert 6 năm trước cách đây
mục cha
commit
225cb355d9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      helper/sites/download.py

+ 1 - 1
helper/sites/download.py

@@ -85,7 +85,7 @@ def savefileprogress(name, full_name, file, item):
 
         tagging.write_tags_to_file(full_name, item)
 
-        name = urllib.parse.unquote('{x.artist} - {x.title}'.format(x=tags))
+        name = urllib.parse.unquote('{x.artist} - {x.title}'.format(x=tags)) + '.mp3'
 
     full_save_name = os.path.abspath('{0}/{1}'.format(Settings.SaveDir, name))
     os.rename(full_name, full_save_name)