From c3646899398eba049737e7effbf5a47bcd46b3aa Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Thu, 16 Jun 2016 15:49:11 +0100 Subject: [PATCH 1/1] Restore correct handling of multi-line tweets --- commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/commands.py b/commands.py index 8e3bfe6..538de09 100755 --- a/commands.py +++ b/commands.py @@ -577,6 +577,7 @@ def getTweet(urlstring,twitapi): tweetText = tweetText.replace(">",">") tweetText = tweetText.replace("<","<") tweetText = tweetText.replace("&","&") + tweetText = tweetText.replace("\n"," ") stringout = "tweet by %s (%s): %s" %(tweeter_screen,tweeter_name,tweetText) except twitter.TwitterError: terror = sys.exc_info() -- 2.30.2