|
From: Sebastian S. <Seb...@SS...> - 2010-01-05 13:05:07
|
I just reported https://sourceforge.net/tracker/?func=detail&aid=2926212&group_id=67445&atid=517918 and the same issue was mentioned here: http://thread.gmane.org/gmane.comp.web.pyblosxom.devel/2166 comments.py contains a check in cb_story() that abort comment reading when it fails: if entry['absolute_path'] and not entry.has_key("nocomments"): the thing is "absolute_path" is "" when a post is in the datadir root (ie in no category) and comments won't be read. This means the number of comments isn't displayed in the list view and there is no "post comment" link in the story-view. IMHO the absolute_path test is bogus and should simply be removed. I have done so locally and things work as expected now. -if entry['absolute_path'] and not entry.has_key("nocomments"): +if not entry.has_key("nocomments"): If more experienced devs agree, it would be good to make that change. spaetz |