Skip to content

Commit 32682f8

Browse files
committed
Fix bug in csvToJson method.
Fixes #93
1 parent c92345b commit 32682f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loklak.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def csvToJson(self, csvData = None, fieldnamesList = None):
8484
if csvData:
8585
data = csv.DictReader( csvData, fieldnames = fieldnamesList)
8686
jsonData = json.dumps( [ row for row in data ] )
87-
return out
87+
return jsonData
8888

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

0 commit comments

Comments
 (0)