This commit is contained in:
angelblue05 2015-09-16 10:07:34 -05:00
commit 3a7afedb6c

View file

@ -383,7 +383,7 @@ def reset():
tableName = row[0] tableName = row[0]
if(tableName != "version"): if(tableName != "version"):
cursor.execute("DELETE FROM " + tableName) cursor.execute("DELETE FROM " + tableName)
cursor.execute("DROP TABLE emby") cursor.execute("DROP TABLE IF EXISTS emby")
connection.commit() connection.commit()
cursor.close() cursor.close()
@ -398,7 +398,7 @@ def reset():
tableName = row[0] tableName = row[0]
if(tableName != "version"): if(tableName != "version"):
cursor.execute("DELETE FROM " + tableName) cursor.execute("DELETE FROM " + tableName)
cursor.execute("DROP TABLE emby") cursor.execute("DROP TABLE IF EXISTS emby")
connection.commit() connection.commit()
cursor.close() cursor.close()