Fixed issue where the Test Connection button didn't work

This commit is contained in:
Sumner Evans
2019-10-28 12:54:18 -06:00
parent 66b8dad22d
commit 68e45412bf

View File

@@ -41,11 +41,11 @@ class EditServerDialog(EditFormDialog):
# Instantiate the server.
server_address = self.data['server_address'].get_text()
server = Server(
self.data['name'].get_text(),
server_address,
self.data['username'].get_text(),
self.data['password'].get_text(),
self.data['disable_cert_verify'].get_active(),
name=self.data['name'].get_text(),
hostname=server_address,
username=self.data['username'].get_text(),
password=self.data['password'].get_text(),
disable_cert_verify=self.data['disable_cert_verify'].get_active(),
)
# Try to ping, and show a message box with whether or not it worked.