Skip to content

csvToJson method is not working #93

Description

@YJDave

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions