Add a should_incr_counts attr to wrapped things.

This commit is contained in:
Jason Harvey
2014-02-20 06:37:54 -08:00
parent d2ccc40733
commit dd67f3ae83

View File

@@ -220,6 +220,7 @@ def default_thing_wrapper(**params):
w.rowstyle = 'promoted link'
elif style == 'htmllite':
w.score_fmt = Score.points
w.should_incr_counts = style != 'htmllite'
return w
params['parent_wrapper'] = _default_thing_wrapper
return make_wrapper(**params)