From dd4ac7c79b24da9be4137de562d92093f8b3654d Mon Sep 17 00:00:00 2001 From: Lertsenem Date: Wed, 12 Oct 2016 23:52:50 +0200 Subject: [PATCH] Removing superfluous str() functions To avoid messing up unicode non-latin characters. This was a requested change. --- rainbowstream/draw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rainbowstream/draw.py b/rainbowstream/draw.py index 4423c26..75e7577 100644 --- a/rainbowstream/draw.py +++ b/rainbowstream/draw.py @@ -1066,8 +1066,8 @@ def format_quote(tweet): Quoting format """ # Retrieve info - screen_name = str( tweet['user']['screen_name'] ) - text = str( tweet['text'] ) + screen_name = tweet['user']['screen_name'] + text = tweet['text'] tid = str( tweet['id'] ) # Validate quote format -- 2.25.1