tfix newlines for -a - counterfacto - small software tool to analyze twitter and highlight counterfactual statements
HTML git clone git://parazyd.org/counterfacto.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 79ca35caf2ce3319fd9a4e39fdeef712dfc0a875
DIR parent d284382baf093bbecb220b64ce241c8b663ddf62
HTML Author: parazyd <parazyd@dyne.org>
Date: Thu, 22 Sep 2016 17:13:07 +0200
fix newlines for -a
Diffstat:
M counterfacto | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/counterfacto b/counterfacto
t@@ -65,6 +65,7 @@ def main():
for s in statuses:
sintweet = s.text
+ sintweet = sintweet.replace('\n', ' ')
sintweet = sintweet.encode('ascii', 'ignore')
tweetFile.write(sintweet + '\n')
#print('wrote tweet')