Fix issue where cover art message displayed before album

This commit is contained in:
nathom 2021-03-30 14:31:35 -07:00
parent b844931528
commit 505111db92
2 changed files with 4 additions and 2 deletions

View file

@ -37,6 +37,7 @@ class MusicDB:
:type item_id: str
:rtype: bool
"""
logger.debug(f"Checking database for ID {item_id}")
with sqlite3.connect(self.path) as conn:
return (
conn.execute(
@ -51,6 +52,7 @@ class MusicDB:
:param item_id:
:type item_id: str
"""
logger.debug(f"Adding ID {item_id}")
with sqlite3.connect(self.path) as conn:
try:
conn.execute(