projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9184ab6
)
Ensure twitter status messages are utf-8 encoded
author
Magnus Hagander
<magnus@hagander.net>
Mon, 14 Mar 2011 12:57:59 +0000
(13:57 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 14 Mar 2011 12:57:59 +0000
(13:57 +0100)
posttotwitter.py
patch
|
blob
|
blame
|
history
diff --git
a/posttotwitter.py
b/posttotwitter.py
index 3b79d1a88ba6643f8539d031f7f195c6c4dd5aaf..146ff9dc7f74955fce02d24d0669ae62b8be0ff7 100755
(executable)
--- a/
posttotwitter.py
+++ b/
posttotwitter.py
@@
-35,7
+35,7
@@
class PostToTwitter(TwitterClient):
Actually make a post to twitter!
"""
ret_dict =self.twitter_request('statuses/update.json', 'POST', {
- 'status': msg,
+ 'status': msg
.encode('utf-8')
,
})
if ret_dict.has_key('created_at'):