From e96ceaaf195fd03d12fb2a80f45155d979ab8cd1 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 1 Feb 2017 20:43:31 +0100 Subject: [PATCH] Fix OperationalError upon database reset --- resources/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index e6cf4f97..6d9dae88 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -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()