Commit 39f2cc26 authored by Matias Guijarro's avatar Matias Guijarro
Browse files

data policy: do not enable ESRF data policy if no scan saving class is specified in config.

parent 124293cf
Pipeline #21137 failed with stages
in 42 minutes and 2 seconds
......@@ -433,7 +433,7 @@ class Session:
env_dict["load_script"] = self.load_script
scan_saving_config = self.config.root.get("scan_saving", {})
scan_saving_class_name = scan_saving_config.get("class", "ESRFScanSaving")
scan_saving_class_name = scan_saving_config.get("class")
scan_saving_class = getattr(scan_saving, scan_saving_class_name)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment