do not limit selection of pipelines when -a is given

This commit is contained in:
gac-maloja
2021-09-30 17:58:49 +02:00
parent d8e6d0a05f
commit 83f2cc47ae

View File

@ -41,8 +41,9 @@ from settings import SettingsList
pc = PipelineClient("http://sf-daqsync-01:8889") pc = PipelineClient("http://sf-daqsync-01:8889")
si = pc.get_server_info() si = pc.get_server_info()
ai = si["active_instances"] pls = si["active_instances"]
pls = (i for i in ai if "psen_db" in i) if not clargs.show_all_settings:
pls = (i for i in pls if "spec_db" in i)
pls = sorted(pls) pls = sorted(pls)
@ -68,7 +69,7 @@ class MainPanel(wx.Panel):
self.cb_pls = cb_pls = wx.ComboBox(self, choices=pls) self.cb_pls = cb_pls = wx.ComboBox(self, choices=pls)
self.eb_bkg = eb_bkg = EntryButton(self, label="Background Images", value=100, button="Save Background") self.eb_bkg = eb_bkg = EntryButton(self, label="Background Images", value=100, button="Record Background")
eb_bkg.Disable() eb_bkg.Disable()
self.entries = entries = SettingsList(self) self.entries = entries = SettingsList(self)