Fix OperationalError upon database reset

This commit is contained in:
tomkat83 2017-02-01 20:43:31 +01:00
parent aba7e3a977
commit e96ceaaf19

View file

@ -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()