changeset 8:76b8f41da4cf tip

note link to page
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 25 Nov 2010 13:48:58 -0800
parents dfbb21128332
children
files bitsytweet/__init__.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bitsytweet/__init__.py
+++ b/bitsytweet/__init__.py
@@ -1,10 +1,13 @@
 """
 BitsyTweet - tweet your bitsyblog entries (horrid, I know)
+
+http://twitter.com/oauth_clients/details/542023
+
 """
 
 import sys
 import twitter
 
 class BitsyTweet(object):
 
   def __init__(self, bitsyblog, username, password):
@@ -43,16 +46,17 @@ def main(args=sys.argv[1:]):
 
   # get the tweeter
   bitsytweet = BitsyTweet(None, options.username, options.password)
 
   # make a dummy class
   class Dummy(object):
     def __init__(self, tweet):
       self.tweet = tweet
+      self.privacy = 'public'
     def snippet(self):
       return self.tweet
   blog_entry = Dummy(' '.join(args))
 
   # tweet it
   bitsytweet(blog_entry, 'http://k0s.org/blog')
 
 if __name__ == '__main__':