From a02aeb4c25ff18931b1f9684cf977595e86b35a9 Mon Sep 17 00:00:00 2001 From: donoban Date: Sun, 10 Jan 2021 23:39:33 +0100 Subject: [PATCH] Fix possible 'None' default error --- qubesmanager/qube_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index ac0d73b..fddfd98 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -954,7 +954,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow): return vm.property_get_default('netvm') def init_network_menu(self): - default = self._get_default_netvm().name + default = self._get_default_netvm() self.network_menu.clear() action = self.network_menu.addAction("None") action.triggered.connect(partial(self.change_network, None))