diff options
| author | 2018-10-03 16:00:25 +0100 | |
|---|---|---|
| committer | 2018-10-03 16:00:25 +0100 | |
| commit | 0a5aef09b4462978823e68ffe4c0b358c8307e78 (patch) | |
| tree | 07c0e6e3cd2d4bb5646e35bfb012aaf4c6acf0c1 /src/Database.py | |
| parent | Remove unneeded \n (diff) | |
| signature | ||
Fix start.py not giving the right arguments to database.servers.add
Diffstat (limited to 'src/Database.py')
| -rw-r--r-- | src/Database.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Database.py b/src/Database.py index 8c7e7f0d..27e4f113 100644 --- a/src/Database.py +++ b/src/Database.py @@ -12,9 +12,9 @@ class Servers(Table): self.database.execute( """INSERT INTO servers (alias, hostname, port, password, ipv4, tls, bindhost, nickname, username, realname) VALUES ( - ?, ?, ?, ?, ?, ?, ?, ?, ?)""", - [hostname, port, password, ipv4, tls, bindhost, nickname, username, - realname]) + ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""", + [alias, hostname, port, password, ipv4, tls, bindhost, nickname, + username, realname]) def get_all(self): return self.database.execute_fetchall( "SELECT server_id, alias FROM servers") |
