From 1a22e8300a75c84c4f3a9c3696f27cae22be1ece Mon Sep 17 00:00:00 2001 From: John Henry Beale Date: Fri, 12 Jun 2026 07:50:51 +0200 Subject: [PATCH] saving to file bug fixed --- app_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app_config.py b/app_config.py index eb3b6a5..ba04c7e 100644 --- a/app_config.py +++ b/app_config.py @@ -644,7 +644,10 @@ verbose bits: AppCfg.GEO_FND_FID,AppCfg.GEO_AUTOFOC, AppCfg.DAQ_UC, AppCfg.DAQ_SAMPLE, AppCfg.DATA_PROC, AppCfg.DAQ_DET,AppCfg.DAQ_LOC,AppCfg.DAQ_RUN): - d={x.name(): x.value() for x in parent.children() if x.type()!='action'} + d = {} + for x in parent.children(): + if x.hasValue(): + d[x.name()] = x.value() cfg.setValue(par_nm, d) if par_nm in (AppCfg.GBL_MISC): try: