Fix file not being created

master
Ruakij 3 years ago
parent f2fa15facf
commit e997b8a25e

@ -154,7 +154,7 @@ def adaptFileForRequire(zone, dumpFile):
log.debug(f"{zone} |\tRewriting file '{dumpFile}'..")
with open(dumpFile, 'r') as fin:
with open(f"{dumpFile}.tmp", 'r') as fout:
with open(f"{dumpFile}.tmp", 'w+') as fout:
fout.write(f"D_EXTEND({zone},")
for line in fin:

Loading…
Cancel
Save