Skip to content

Commit

Permalink
Fix bug in csvToJson method.
Browse files Browse the repository at this point in the history
Fixes #93
  • Loading branch information
YJDave committed Jan 25, 2018
1 parent c92345b commit 32682f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loklak.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def csvToJson(self, csvData = None, fieldnamesList = None):
if csvData:
data = csv.DictReader( csvData, fieldnames = fieldnamesList)
jsonData = json.dumps( [ row for row in data ] )
return out
return jsonData

def hello(self):
"""Retrieve a json response about the basic status of the server."""
Expand Down

0 comments on commit 32682f8

Please sign in to comment.