Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Subreddit.get_promote_srid: Use stale Subreddit lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
bsimpson63 committed May 17, 2016
1 parent d9dbf78 commit 552145d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/models/subreddit.py
Expand Up @@ -1291,7 +1291,7 @@ def allow_gilding(self):
@classmethod
def get_promote_srid(cls):
try:
return cls._by_name(g.promo_sr_name)._id
return cls._by_name(g.promo_sr_name, stale=True)._id
except NotFound:
return None

Expand Down

0 comments on commit 552145d

Please sign in to comment.