mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
pass exception through to calling function
This commit is contained in:
parent
ae0dbc0400
commit
d3d5c46c60
1 changed files with 2 additions and 6 deletions
|
@ -105,13 +105,9 @@ class JellyfinDatabase():
|
||||||
|
|
||||||
def get_view_name(self, item_id):
|
def get_view_name(self, item_id):
|
||||||
|
|
||||||
try:
|
|
||||||
self.cursor.execute(QU.get_view_name, (item_id,))
|
self.cursor.execute(QU.get_view_name, (item_id,))
|
||||||
|
|
||||||
return self.cursor.fetchone()[0]
|
return self.cursor.fetchone()[0]
|
||||||
except Exception as error:
|
|
||||||
LOG.exception(error)
|
|
||||||
return
|
|
||||||
|
|
||||||
def get_view(self, *args):
|
def get_view(self, *args):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue