Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Precautionary data=True when loading Subreddits

  • Loading branch information...
commit ab4e99e1877c7f350387ca263052f1aea5bcd47a 1 parent 84eeab3
@wezm wezm authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/recalc_karma.py
View
2  scripts/recalc_karma.py
@@ -173,7 +173,7 @@ def write_karmas(self):
def get_sr_by_id(self, sr_id):
sr = self.subreds_by_id.get(id)
if sr is None:
- sr = self.subreds_by_id[id] = Subreddit._byID(sr_id)
+ sr = self.subreds_by_id[id] = Subreddit._byID(sr_id, data=True)
return sr
def make_karma_key(self, karma):
Please sign in to comment.
Something went wrong with that request. Please try again.