From 896c9b9e74df6dbe8fbace1195ed358dbbcaf836 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 14 Apr 2023 00:16:35 -0400 Subject: [PATCH] [5] fix overwriting external vars --- VERSION | 2 +- modules/meta.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index bcea2356..721f0b16 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop4 +1.19.0-develop5 diff --git a/modules/meta.py b/modules/meta.py index 8cbd1221..c9346c1e 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -312,7 +312,7 @@ class DataFile: added_vars.pop(input_key) elif overwrite_call: variables[input_key] = input_value - else: + elif input_key not in added_vars: added_vars[input_key] = input_value for k, v in added_vars.items(): if k not in variables: