aboutsummaryrefslogtreecommitdiff
path: root/Database.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-06-28 00:08:40 +0100
committerGravatar jesopo2016-06-28 00:08:40 +0100
commit7cf4552ab8f2497eb6627ebfc7c8dffb06c0f93b (patch)
tree152a7716c99b3c816e9bf4fd890e52a3d13b15b6 /Database.py
parenttweaked karma.py. (diff)
fixed a problem with Database.py.
Diffstat (limited to 'Database.py')
-rw-r--r--Database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Database.py b/Database.py
index cd4bbc2b..3c5ecccb 100644
--- a/Database.py
+++ b/Database.py
@@ -184,4 +184,4 @@ class Database(object):
self.cursor().execute("""SELECT server_id, hostname, port, password,
ipv4, tls, nickname, username, realname FROM servers WHERE
server_id=?""", [id])
- return self.cursors.fetchall()
+ return self.cursor().fetchone()