Skip to content
Snippets Groups Projects
Commit 1c0baecf authored by Marko Mecina's avatar Marko Mecina
Browse files

use communication instance id

parent 2ac696a3
No related branches found
No related tags found
No related merge requests found
...@@ -440,7 +440,7 @@ class PlotViewer(Gtk.Window): ...@@ -440,7 +440,7 @@ class PlotViewer(Gtk.Window):
all_pools = None all_pools = None
if cfl.is_open('poolmanager'): if cfl.is_open('poolmanager'):
# pmgr = cfl.dbus_connection('poolmanager', cfl.communication['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 = pmgr.Dictionaries('loaded_pools')
# all_pools = cfl.Dictionaries(pmgr, 'loaded_pools') # all_pools = cfl.Dictionaries(pmgr, 'loaded_pools')
#if not all_pools: #if not all_pools:
...@@ -453,8 +453,8 @@ class PlotViewer(Gtk.Window): ...@@ -453,8 +453,8 @@ class PlotViewer(Gtk.Window):
# found_pools = list(all_pools.keys()) # found_pools = list(all_pools.keys())
elif cfl.is_open('poolviewer'): elif cfl.is_open('poolviewer'):
pv = cfl.dbus_connection('poolviewer', cfl.communication['poolviewer']) # pv = cfl.dbus_connection('poolviewer', cfl.communication['poolviewer'])
pv = cfl.get_module_handle('poolviewer') pv = cfl.get_module_handle('poolviewer', instance=cfl.communication['poolviewer'])
all_pools = pv.Variables('active_pool_info') all_pools = pv.Variables('active_pool_info')
# all_pools = cfl.Variables(pv, 'active_pool_info') # all_pools = cfl.Variables(pv, 'active_pool_info')
#if all_pools: #if all_pools:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment