From 1c0baecf257377825377aa24972ea55c8f131b79 Mon Sep 17 00:00:00 2001 From: Marko Mecina <marko.mecina@univie.ac.at> Date: Fri, 2 Dec 2022 22:13:41 +0100 Subject: [PATCH] use communication instance id --- Ccs/plotter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ccs/plotter.py b/Ccs/plotter.py index 2413dc6..c378d44 100644 --- a/Ccs/plotter.py +++ b/Ccs/plotter.py @@ -440,7 +440,7 @@ class PlotViewer(Gtk.Window): all_pools = None if cfl.is_open('poolmanager'): # pmgr = cfl.dbus_connection('poolmanager', cfl.communication['poolmanager']) - pmgr = cfl.get_module_handle('poolmanager') + pmgr = cfl.get_module_handle('poolmanager', instance=cfl.communication['poolmanager']) all_pools = pmgr.Dictionaries('loaded_pools') # all_pools = cfl.Dictionaries(pmgr, 'loaded_pools') #if not all_pools: @@ -453,8 +453,8 @@ class PlotViewer(Gtk.Window): # found_pools = list(all_pools.keys()) elif cfl.is_open('poolviewer'): - pv = cfl.dbus_connection('poolviewer', cfl.communication['poolviewer']) - pv = cfl.get_module_handle('poolviewer') + # pv = cfl.dbus_connection('poolviewer', cfl.communication['poolviewer']) + pv = cfl.get_module_handle('poolviewer', instance=cfl.communication['poolviewer']) all_pools = pv.Variables('active_pool_info') # all_pools = cfl.Variables(pv, 'active_pool_info') #if all_pools: -- GitLab