summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2024-07-24 13:35:57 +0200
committerGitHub <noreply@github.com>2024-07-24 13:35:57 +0200
commit064012a0d8c18aac253de79154175400fe7ad9cc (patch)
treed4ee1a9324bacd5e4c86fd93f24ac1b2181dcc33 /acprep
parent0c323a569f2774431fcef2e5fe4b5c425ab572b2 (diff)
parent0245f5f5d9d9c1891a7a24d27e1ecc3c21f65e55 (diff)
downloadfork-ledger-064012a0d8c18aac253de79154175400fe7ad9cc.tar.gz
fork-ledger-064012a0d8c18aac253de79154175400fe7ad9cc.tar.bz2
fork-ledger-064012a0d8c18aac253de79154175400fe7ad9cc.zip
Merge pull request #2367 from Chris927/master
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep2
1 files changed, 1 insertions, 1 deletions
diff --git a/acprep b/acprep
index 70b28e03..830e8c60 100755
--- a/acprep
+++ b/acprep
@@ -840,7 +840,7 @@ class PrepareBuild(CommandLineApp):
PrepareBuild.__dict__['setup_flavor_' + self.current_flavor](self)
def escape_string(self, data):
- return re.sub(r'(['\\\\])', '\\\\\\1', data)
+ return re.sub(r'(["\\\\])', '\\\\\\1', data)
def finalize_config(self):
self.setup_flavor()