projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4889de7
)
Properly include hostname to twitter api when posting
author
Magnus Hagander
<magnus@hagander.net>
Fri, 8 Feb 2019 08:42:50 +0000
(09:42 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 8 Feb 2019 08:42:50 +0000
(09:42 +0100)
posttotwitter.py
patch
|
blob
|
blame
|
history
diff --git
a/posttotwitter.py
b/posttotwitter.py
index e460fee2fba19f64b37e8efe4e33902f9112025a..137a60ee5188a12a9b1e9d17201bf1800a0638be 100755
(executable)
--- a/
posttotwitter.py
+++ b/
posttotwitter.py
@@
-33,7
+33,7
@@
class PostToTwitter(TwitterClient):
"""
Actually make a post to twitter!
"""
- ret_dict = self.tw.post('{0}statuses/update.json', data={
+ ret_dict = self.tw.post('{0}statuses/update.json'
.format(self.twitter_api)
, data={
'status': msg,
})
if r.status_code != 200: