|
|
@ -43,8 +43,8 @@ class PublicRelations(Bureau):
|
|
|
|
oauth_token, oauth_secret = twitter.read_token_file(TW_CREDS)
|
|
|
|
oauth_token, oauth_secret = twitter.read_token_file(TW_CREDS)
|
|
|
|
|
|
|
|
|
|
|
|
self.t = TWrapper()
|
|
|
|
self.t = TWrapper()
|
|
|
|
self.t.t = twitter.Twitter(auth=twitter.OAuth(oauth_token, oauth_secret,
|
|
|
|
self.auth = twitter.OAuth(oauth_token, oauth_secret, CK, CS)
|
|
|
|
CK, CS))
|
|
|
|
self.t.t = twitter.Twitter(auth=self.auth)
|
|
|
|
|
|
|
|
|
|
|
|
@add_command("tweetpic", "Post a Document Camera Image to Twitter")
|
|
|
|
@add_command("tweetpic", "Post a Document Camera Image to Twitter")
|
|
|
|
def tweet_pic(self):
|
|
|
|
def tweet_pic(self):
|
|
|
|