Skip to content
New issue

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

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

Already on GitHub? # to your account

network-util: csv headers #9

Open
jeromekleinen opened this issue Mar 19, 2018 · 0 comments
Open

network-util: csv headers #9

jeromekleinen opened this issue Mar 19, 2018 · 0 comments

Comments

@jeromekleinen
Copy link

Hi guys,

Just noticed a small issue with the network-util. Depending on the 'append' command line parameter a check is performed to see whether or not a header row should be written to the file, by checking the value of args.append against False. However, when the append parameter is not specified it actually defaults to None.

I changed the check to 'if args.append is not True' which covers both the False and the None case. I guess also common.py could be changed to set a default value or type for the append command line parameter.

Jerome

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

No branches or pull requests

1 participant