From 1589f01461336708527582e05ae4cadb86c2135a Mon Sep 17 00:00:00 2001 From: Etienne Pelletier Date: Tue, 22 Nov 2022 17:13:44 +0000 Subject: [PATCH] ensure proj_lib key not removed when OWS_LOG is set --- geomet_climate/mapfile.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/geomet_climate/mapfile.py b/geomet_climate/mapfile.py index c1e8986..b1b6346 100755 --- a/geomet_climate/mapfile.py +++ b/geomet_climate/mapfile.py @@ -412,9 +412,7 @@ def generate(ctx, service, layer): mapfile['symbols'] = json.load(fh2) if OWS_LOG is not None: - mapfile['config'] = { - 'ms_errorfile': OWS_LOG - } + mapfile['config']['ms_errorfile']: OWS_LOG if OWS_DEBUG is not None: mapfile['debug'] = int(OWS_DEBUG)