Fix wrong column name in settings table call

This commit is contained in:
DariusIII
2016-09-20 11:18:30 +02:00
parent a6802d093a
commit 2844ce4642
6 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ conf = info.readConfig()
cur = info.connect()
start_time = time.time()
pathname = os.path.abspath(os.path.dirname(sys.argv[0]))
cur[0].execute("SELECT value FROM settings WHERE setting = 'releasesthreads'")
cur[0].execute("SELECT value FROM settings WHERE setting = 'releasethreads'")
threads = cur[0].fetchone()
threads = int(threads[0])