mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-28 05:54:52 -04:00
Fix issue #18
This commit is contained in:
parent
07eb620f77
commit
7f413c8290
1 changed files with 3 additions and 2 deletions
|
@ -60,5 +60,6 @@ class MusicDB:
|
|||
(item_id,),
|
||||
)
|
||||
conn.commit()
|
||||
except sqlite3.Error as error:
|
||||
logger.error("Unexpected DB error: %s, ID: %s", error, item_id)
|
||||
except sqlite3.Error as e:
|
||||
if 'UNIQUE' not in str(e):
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue