From 49aa2fdbdbb18029cd489d857640b7f9cd142fb6 Mon Sep 17 00:00:00 2001 From: gac-x12sa Date: Thu, 5 Jan 2023 12:33:44 +0100 Subject: [PATCH] Closedown --- script/devices/Detector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/devices/Detector.py b/script/devices/Detector.py index 0f3d65b..a8dd150 100644 --- a/script/devices/Detector.py +++ b/script/devices/Detector.py @@ -19,7 +19,7 @@ class Detector(DeviceBase): print pars print type(pars) self.p=pars - if type(pars) == dict: + if type(pars) == dict or isinstance(p, java.util.Map) : self.simulated_pars=pars def doClose(self):