mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-31 07:18:26 -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,),
|
(item_id,),
|
||||||
)
|
)
|
||||||
conn.commit()
|
conn.commit()
|
||||||
except sqlite3.Error as error:
|
except sqlite3.Error as e:
|
||||||
logger.error("Unexpected DB error: %s, ID: %s", error, item_id)
|
if 'UNIQUE' not in str(e):
|
||||||
|
raise
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue