diff --git a/screenless/bureau/publicrelations/publicrelations.py b/screenless/bureau/publicrelations/publicrelations.py index 4f57ffb..6ab29fd 100644 --- a/screenless/bureau/publicrelations/publicrelations.py +++ b/screenless/bureau/publicrelations/publicrelations.py @@ -43,8 +43,8 @@ class PublicRelations(Bureau): oauth_token, oauth_secret = twitter.read_token_file(TW_CREDS) self.t = TWrapper() - self.t.t = twitter.Twitter(auth=twitter.OAuth(oauth_token, oauth_secret, - CK, CS)) + self.auth = twitter.OAuth(oauth_token, oauth_secret, CK, CS) + self.t.t = twitter.Twitter(auth=self.auth) @add_command("tweetpic", "Post a Document Camera Image to Twitter") def tweet_pic(self):