Commit 65475f0c authored by De Boissieu Florian's avatar De Boissieu Florian

Update generateDS.py

parent d4730068
......@@ -6999,11 +6999,11 @@ def makeFile(outFileName):
reply = input(
'File %s exists. Overwrite? (y/n): ' % outFileName)
if reply == 'y':
outFile = open(outFileName, 'w')
outFile = open(outFileName, 'w', encode="utf-8")
else:
sys.exit('Exiting. No output file.')
else:
outFile = open(outFileName, 'w')
outFile = open(outFileName, 'w', encode="utf-8")
return outFile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment