Fix file not being created
This commit is contained in:
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…
x
Reference in New Issue
Block a user