diff --git a/webservice/webservice.py b/webservice/webservice.py index 0e53747df873167455b811a014d70ff9523a4f81..2ce0f9d3eabb3de3de24fffcf479c9c67f2bcc89 100644 --- a/webservice/webservice.py +++ b/webservice/webservice.py @@ -1287,7 +1287,7 @@ class ActionsServer: # Notebooks require one or three runs, depending on the # detector type and operation mode. triple = any( - det in karabo_id for det in config['dark']['three-gain-detectors']) # noqa + det in karabo_id for det in self.config['dark']['three-gain-detectors']) # noqa # This fails silently if the hardcoded strings above are # ever changed (triple = False) but the underlying notebook