diff options
-rw-r--r-- | scripts/FileGenerator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/FileGenerator.py b/scripts/FileGenerator.py index cf949901c..9fb32f46a 100644 --- a/scripts/FileGenerator.py +++ b/scripts/FileGenerator.py @@ -217,5 +217,5 @@ def FindSectionInList(lines, markers): def ReplaceREInFile(path, match, replace): with codecs.open(path, "r", "utf-8") as f: contents = f.read() - contents = re.sub(match, replace, contents) + contents = re.sub(match, replace, contents, 1) UpdateFile(path, contents) |