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

Fix import of CSV files for python 3 #537

Merged
merged 2 commits into from
Aug 6, 2018
Merged

Fix import of CSV files for python 3 #537

merged 2 commits into from
Aug 6, 2018

Conversation

jvanbraekel
Copy link
Contributor

Hello,
When files are upload with python 3 , the stream is a binary one. But the csv reader and all the types checks have been written for string... Conversion was needed in both object.py and base.py.
Additionally, during the file parsing two different errors are now raise for unknown table and invalid file format.

@mdipierro mdipierro merged commit 6185a34 into web2py:master Aug 6, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants