summaryrefslogtreecommitdiffstats
path: root/module/database/UserDatabase.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/database/UserDatabase.py')
-rw-r--r--module/database/UserDatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/database/UserDatabase.py b/module/database/UserDatabase.py
index 6137581ed..d2809fcea 100644
--- a/module/database/UserDatabase.py
+++ b/module/database/UserDatabase.py
@@ -84,7 +84,7 @@ class UserMethods():
@style.queue
def removeUser(db, user):
- c.execute('DELETE FROM users WHERE name=?', (user, ))
+ db.c.execute('DELETE FROM users WHERE name=?', (user, ))
DatabaseBackend.registerSub(UserMethods)