commit 9a30a214b25214e274b0d1885239079cdac7c9fe
Author: hiro <hiro(a)torproject.org>
Date: Tue Oct 15 21:52:34 2019 +0200
Fix error in function call - some other place
---
gettor/services/twitter/twitterdm.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gettor/services/twitter/twitterdm.py b/gettor/services/twitter/twitterdm.py
index 26b06b2..dcfc290 100644
--- a/gettor/services/twitter/twitterdm.py
+++ b/gettor/services/twitter/twitterdm.py
@@ -79,10 +79,10 @@ class Twitterdm(object):
:return: deferred whose callback/errback will handle the API execution
details.
"""
- return self.send_tweet()
+ return self.send_tweet(twitter_id, message)
- def send_tweet(self):
+ def send_tweet(self, twitter_id, message):
post_data = self.twitter.post_message(
twitter_id, message
)