mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Add a should_incr_counts attr to wrapped things.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user