Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

给项目提个patch #46

Open
FosterXu0723 opened this issue Feb 19, 2021 · 0 comments
Open

给项目提个patch #46

FosterXu0723 opened this issue Feb 19, 2021 · 0 comments

Comments

@FosterXu0723
Copy link

@zhuifengshen 我在使用该项目时,生成的CSV文件会产生多余的空行的,所以对zentao.py代码进行优化,问题解决,希望作者可以参考

原代码:with open(zentao_file, 'w', encoding='utf8') as f:
优化后代码:with open(zentao_file, 'w', encoding='utf8',newline='') as f:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant