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

csvToJson method is not working #93

Open
YJDave opened this issue Jan 25, 2018 · 0 comments
Open

csvToJson method is not working #93

YJDave opened this issue Jan 25, 2018 · 0 comments

Comments

@YJDave
Copy link

YJDave commented Jan 25, 2018

When I try to call csvToJson method, it throws following error.

Traceback (most recent call last):
  File "lokak.py", line 16, in <module>
    print(l.csvToJson(csvData))
  File "/home/venv-loklak-2/local/lib/python2.7/site-packages/loklak.py", line 73, in csvToJson
    return out
NameError: global name 'out' is not defined

My script looks like this,

csvData = '"abc","xyz","dsf","sdfkl",12.1'
print(l.csvToJson(csvData))
YJDave added a commit to YJDave/loklak_python_api that referenced this issue Jan 25, 2018
YJDave added a commit to YJDave/loklak_python_api that referenced this issue Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant