Fix OperationalError upon database reset
This commit is contained in:
parent
aba7e3a977
commit
e96ceaaf19
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ def reset():
|
|||
tablename = row[0]
|
||||
if tablename != "version":
|
||||
cursor.execute("DELETE FROM " + tablename)
|
||||
cursor.execute('DROP table IF EXISTS emby')
|
||||
cursor.execute('DROP table IF EXISTS plex')
|
||||
cursor.execute('DROP table IF EXISTS view')
|
||||
connection.commit()
|
||||
cursor.close()
|
||||
|
|
Loading…
Reference in a new issue