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

Change to splitlines #2

Open
jroakes opened this issue Feb 21, 2019 · 0 comments
Open

Change to splitlines #2

jroakes opened this issue Feb 21, 2019 · 0 comments

Comments

@jroakes
Copy link

jroakes commented Feb 21, 2019

Here:

lines = data.split('\r\n')

Change to:

 lines = data.splitlines()

Here:

Add:

if 'export_columns' in kwargs:
    kwargs['export_columns'] = ",".join([c.strip() for c in kwargs['export_columns'].split(',')])
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