# HG changeset patch # User Jeff Hammel # Date 1278612788 25200 # Node ID e6055bf127ebd52991cd91199929033222034d7a # Parent c9bab68d00ac23341b1483fd229e63e21ac19072 fix details necessary to make tweeting work...muahaha diff -r c9bab68d00ac -r e6055bf127eb bitsyblog/blog.py --- a/bitsyblog/blog.py Thu Jul 08 10:48:13 2010 -0700 +++ b/bitsyblog/blog.py Thu Jul 08 11:13:08 2010 -0700 @@ -148,7 +148,7 @@ def post(self, user, datestamp, body, privacy): blog = file(self.location(user, privacy, datestamp), 'w') print >> blog, body - return Blog.post(user, datestamp, body, privacy) + return Blog.post(self, user, datestamp, body, privacy) def delete(self, user, datestamp): for permission in 'public', 'secret', 'private': diff -r c9bab68d00ac -r e6055bf127eb bitsyblog/factory.py --- a/bitsyblog/factory.py Thu Jul 08 10:48:13 2010 -0700 +++ b/bitsyblog/factory.py Thu Jul 08 11:13:08 2010 -0700 @@ -4,15 +4,16 @@ from paste.httpexceptions import HTTPExceptionHandler # accepted configuration keys, e.g. 'bitsyblog.file_dir' -config = set(['file_dir', - 'date_format', - 'subject', - 'n_links', - 'help_file', - 'header', - 'template_directories', - 'feed_items', - ]) +config = set(BitsyBlog.defaults.keys()) +# config = set(['file_dir', +# 'date_format', +# 'subject', +# 'n_links', +# 'help_file', +# 'header', +# 'template_directories', +# 'feed_items', +# ]) def get_args(app_conf): """return arguments for bitsyblog and its handlers"""