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
This commit is contained in:
Andreas Jaeger 2016-09-20 14:42:21 +02:00
parent a0d518a16f
commit 15b3e12ad4
1 changed files with 1 additions and 1 deletions

View File

@ -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):