fix: add svg files, continue

This commit is contained in:
Terry Geng 2020-03-21 01:16:27 +08:00
parent 6524212140
commit 4debb567b8

View File

@ -314,7 +314,8 @@ class MusicDatabase:
del music_dict['title'] del music_dict['title']
del music_dict['type'] del music_dict['type']
del music_dict['tags'] del music_dict['tags']
del music_dict['path'] if 'path' in music_dict:
del music_dict['path']
del music_dict['keywords'] del music_dict['keywords']
cursor.execute("INSERT OR REPLACE INTO music (id, type, title, metadata, tags, path, keywords) VALUES (?, ?, ?, ?, ?, ?, ?)", cursor.execute("INSERT OR REPLACE INTO music (id, type, title, metadata, tags, path, keywords) VALUES (?, ?, ?, ?, ?, ?, ?)",