From d7468c306266ec97be3a35d762155d7d3fd4e706 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 15 May 2024 15:49:37 -0400 Subject: [PATCH] [14] fix weird template edge case --- VERSION | 2 +- modules/meta.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 5a9934e0..04f5fbf2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.1-develop13 +2.0.1-develop14 diff --git a/modules/meta.py b/modules/meta.py index 8f70cc3f..e055b3f2 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -514,7 +514,7 @@ class DataFile: return actual_value elif f"<<{var}" in str(og_txt): final = str(og_txt).replace(f"<<{var}>>", str(actual_value)) if f"<<{var}>>" in str(og_txt) else str(og_txt) - if f"<<{var}" in final: + if f"<<{var}" in final and var not in variables: match = re.search(f"<<({var}([+-])(\\d+))>>", final) if match: try: