aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-18 10:55:11 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-18 10:55:11 +0200
commit21faeb3d888ebb9225e00bc178143e57256d4cf9 (patch)
tree173a6e1e06cf274de33d6d98513b87cb36dffc98
parent125a8b082b10348dfeb15b25e6697f770d1d20f4 (diff)
downloadlinux-conf-perf-21faeb3d888ebb9225e00bc178143e57256d4cf9.tar.gz
linux-conf-perf-21faeb3d888ebb9225e00bc178143e57256d4cf9.tar.bz2
linux-conf-perf-21faeb3d888ebb9225e00bc178143e57256d4cf9.zip
Fix database add_configsort
No attribute supplied when executed sql command.
-rw-r--r--scripts/database.py2
1 files changed, 1 insertions, 1 deletions
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"