From 3130cba881d923c2fdfef5d14538f3948c501687 Mon Sep 17 00:00:00 2001 From: Jan Fabry Date: Mon, 23 Jul 2018 22:00:31 +0200 Subject: [PATCH] Fix GUI client server settings These were refactored out of CompoundPiClient into CompoundPiServerList, but the GUI code was not updated. --- compoundpi/windows/main_window.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compoundpi/windows/main_window.py b/compoundpi/windows/main_window.py index 11a512e..c5e8b37 100644 --- a/compoundpi/windows/main_window.py +++ b/compoundpi/windows/main_window.py @@ -240,9 +240,9 @@ def servers_find(self): self.settings.setValue('port', dialog.port) self.settings.setValue('timeout', dialog.timeout) self.settings.setValue('expected_count', dialog.expected_count) - self.client.network = '%s/%s' % (iface['addr'], iface['netmask']) - self.client.port = dialog.port - self.client.timeout = dialog.timeout + self.client.servers.network = '%s/%s' % (iface['addr'], iface['netmask']) + self.client.servers.port = dialog.port + self.client.servers.timeout = dialog.timeout self.ui.server_list.model().find(count=dialog.expected_count) self.servers_resize_columns() finally: