Fixes another binary versus string issue in collate.py

This commit is contained in:
Athanasius committed 2019-09-26 11:40:42 +01:00
1 parent e51b4f5c68
commit decadd634e
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ def addmodules(data):
os.unlink(outfile+'.bak')
os.rename(outfile, outfile+'.bak')
with open(outfile, 'wb') as csvfile:
with open(outfile, 'w') as csvfile:
writer = csv.DictWriter(csvfile, fields, extrasaction='ignore')
writer.writeheader()
for key in sorted(modules):