mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
drop emby only if it exists...which should be most of the time :)
This commit is contained in:
parent
84096ad022
commit
c5d5e87574
1 changed files with 2 additions and 2 deletions
|
@ -383,7 +383,7 @@ def reset():
|
|||
tableName = row[0]
|
||||
if(tableName != "version"):
|
||||
cursor.execute("DELETE FROM " + tableName)
|
||||
cursor.execute("DROP TABLE emby")
|
||||
cursor.execute("DROP TABLE IF EXISTS emby")
|
||||
connection.commit()
|
||||
cursor.close()
|
||||
|
||||
|
@ -398,7 +398,7 @@ def reset():
|
|||
tableName = row[0]
|
||||
if(tableName != "version"):
|
||||
cursor.execute("DELETE FROM " + tableName)
|
||||
cursor.execute("DROP TABLE emby")
|
||||
cursor.execute("DROP TABLE IF EXISTS emby")
|
||||
connection.commit()
|
||||
cursor.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue