Skip to content

Commit

Permalink
fixed a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yaolubrain committed Jan 24, 2015
1 parent defe0c9 commit c7ed947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def on_data(self, raw_data):
if not text:
return True

line = "\"" + str(emo_idx) + "\"," + "\"" + text + "\""
line = "\"" + str(emo_idx) + "\"," + "\"" + text + "\"\n"
with open('data_collected.csv', 'a') as f:
f.write(line)

Expand Down

0 comments on commit c7ed947

Please sign in to comment.