From 227fe0ab495dc0a5139102fce911790debef4c8e Mon Sep 17 00:00:00 2001 From: Freeman Date: Thu, 20 Oct 2022 12:30:52 +0100 Subject: [PATCH] fixed the linting problem Signed-off-by: Freeman --- local/rest_api_gcbm/preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/rest_api_gcbm/preprocess.py b/local/rest_api_gcbm/preprocess.py index 261d2ed8..d42aa57e 100644 --- a/local/rest_api_gcbm/preprocess.py +++ b/local/rest_api_gcbm/preprocess.py @@ -21,7 +21,7 @@ def get_modules_cbm_config(input_dir): for file in os.listdir(f"{input_dir}/disturbances/"): disturbances.append( file.split(".")[0][:-5] - ) # drop `_moja` to match modules_cbm.json template + ) # drop `_moja` to match modules_cbm.json template modules_cbm_config.seek(0) data["Modules"]["CBMDisturbanceListener"]["settings"]["vars"] = disturbances json.dump(data, modules_cbm_config, indent=4)