fixed a problem with Database.py.
This commit is contained in:
parent
6a3b9b28b4
commit
7cf4552ab8
1 changed files with 1 additions and 1 deletions
|
@ -184,4 +184,4 @@ class Database(object):
|
||||||
self.cursor().execute("""SELECT server_id, hostname, port, password,
|
self.cursor().execute("""SELECT server_id, hostname, port, password,
|
||||||
ipv4, tls, nickname, username, realname FROM servers WHERE
|
ipv4, tls, nickname, username, realname FROM servers WHERE
|
||||||
server_id=?""", [id])
|
server_id=?""", [id])
|
||||||
return self.cursors.fetchall()
|
return self.cursor().fetchone()
|
||||||
|
|
Loading…
Reference in a new issue