From 4d45c87ad8bf7e8d71a9d8707c3f1eaec02bf45a Mon Sep 17 00:00:00 2001 From: Rob Carver Date: Mon, 20 Nov 2023 10:46:34 +0000 Subject: [PATCH] bug --- sysproduction/data/control_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysproduction/data/control_process.py b/sysproduction/data/control_process.py index f85964477a..ea7c66e979 100644 --- a/sysproduction/data/control_process.py +++ b/sysproduction/data/control_process.py @@ -125,7 +125,7 @@ def log_end_run_for_method(self, process_name: str, method_name: str): class diagControlProcess(productionDataLayerGeneric): def _add_required_classes_to_data(self, data) -> dataBlob: - data.add_class_object(mongoControlProcessData) + data.add_class_object(get_class_for_data_type(PROCESS_CONTROL_DATA)) return data