diff --git a/matemat/db/facade.py b/matemat/db/facade.py index 99aef1d..29562c8 100644 --- a/matemat/db/facade.py +++ b/matemat/db/facade.py @@ -83,7 +83,7 @@ class MatematDatabase(object): for row in c.execute(''' SELECT user_id, username, email, is_admin, is_member, balance FROM users - WHERE touchkey IS NOT NULL OR NOT :must_have_touchkey + WHERE touchkey IS NOT NULL OR NOT :must_have_touchkey ''', { 'must_have_touchkey': with_touchkey }):