From 6046842c94353266f9aa9018a7ea84059ca3ecdb Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 2 Aug 2021 14:05:28 +0200 Subject: [PATCH] Fixed zone-name not having ascterics --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 1f2eedd..ae0eadc 100755 --- a/daemon.py +++ b/daemon.py @@ -155,7 +155,7 @@ def adaptFileForRequire(zone, dumpFile): with open(dumpFile, 'r') as fin: with open(f"{dumpFile}.tmp", 'w+') as fout: - fout.write(f"D_EXTEND({zone},") + fout.write(f'D_EXTEND("{zone}",\n') for line in fin: if not re.match(ignoreLinesRexp, line):