mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-07 19:03:23 +03:00
Fixes another binary versus string issue in collate.py
This commit is contained in:
parent
e51b4f5c68
commit
decadd634e
@ -104,7 +104,7 @@ def addmodules(data):
|
|||||||
os.unlink(outfile+'.bak')
|
os.unlink(outfile+'.bak')
|
||||||
os.rename(outfile, 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 = csv.DictWriter(csvfile, fields, extrasaction='ignore')
|
||||||
writer.writeheader()
|
writer.writeheader()
|
||||||
for key in sorted(modules):
|
for key in sorted(modules):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user