projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13bcdaf
)
Removing superfluous str() functions
author
Lertsenem
<lertsenem@lertsenem.com>
Wed, 12 Oct 2016 21:52:50 +0000
(23:52 +0200)
committer
Lertsenem
<lertsenem@lertsenem.com>
Wed, 12 Oct 2016 21:52:50 +0000
(23:52 +0200)
To avoid messing up unicode non-latin characters.
This was a requested change.
rainbowstream/draw.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/draw.py
b/rainbowstream/draw.py
index 4423c265fb4b7fd309d1ebd0575c31601b056335..75e75772d850888fbab7e38f5ee05ea9b2feaf7a 100644
(file)
--- 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