mirror of https://github.com/nathom/streamrip.git
Fix issue #18
This commit is contained in:
parent
07eb620f77
commit
7f413c8290
|
@ -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…
Reference in New Issue