From 15b3e12ad4f4a09fe4eb941d7dce0a38098b5a32 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 20 Sep 2016 14:42:21 +0200 Subject: [PATCH] Fix twitter support statusbot failed to start with error that access_token did not exist. The variable is called access_token_key, use it. Change-Id: Ib45a1021046145ff5a65f5aaa2e276558762a2a9 --- statusbot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusbot/bot.py b/statusbot/bot.py index f9bdc9d..6f52f3b 100644 --- a/statusbot/bot.py +++ b/statusbot/bot.py @@ -165,7 +165,7 @@ class Tweet(UpdateInterface): self.api = twitter.Api( consumer_key=self.consumer_key, consumer_secret=self.consumer_secret, - access_token_key=self.access_token, + access_token_key=self.access_token_key, access_token_secret=self.access_token_secret) def update(self, msg):