From 21faeb3d888ebb9225e00bc178143e57256d4cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 18 Aug 2015 10:55:11 +0200 Subject: Fix database add_configsort No attribute supplied when executed sql command. --- scripts/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/database.py') diff --git a/scripts/database.py b/scripts/database.py index c4f0a60..82931b0 100644 --- a/scripts/database.py +++ b/scripts/database.py @@ -146,7 +146,7 @@ class database: ps = self.db.prepare("""INSERT INTO configopt (configopt) VALUES ($1) """) - ps() + ps(configopt) def get_configsort(self): "Returns sorted list of all configuration options" -- cgit v1.2.3