fixed a problem with Database.py.

This commit is contained in:
jesopo 2016-06-28 00:08:40 +01:00
parent 6a3b9b28b4
commit 7cf4552ab8
No known key found for this signature in database
GPG key ID: 0BBDEB2AEFCFFCB3

View file

@ -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()