Skip to content
Snippets Groups Projects
Commit 74590ab6 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

workaround fucking windows sym link

parent 8b605842
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,8 @@ def main(argv):
print('NOT_MATCH: {} != {}'.format(fl, libFile[0]))
out_csv.append('与库文件不匹配,{},!=,{}'.format(fl, libFile[0]))
with open('out.csv', 'w+') as f:
fname = os.path.dirname(argv[0]) + os.path.sep + 'out.csv'
with open(fname, 'w+') as f:
f.write('\n'.join(out_csv)) # Windows M$ excel also not accepting \r\n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment