Skip to content

Commit

Permalink
ignore the sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
normalhuman committed Dec 14, 2015
1 parent 366a9a0 commit 279d112
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bodyfetcher.py
Expand Up @@ -23,6 +23,8 @@ def add_to_queue(self, post):
d = json.loads(json.loads(post)["data"])
sitebase = d["siteBaseHostAddress"]
postid = d["id"]
if postid == 3122 and sitebase == "meta.stackexchange.com":
return # don't check meta sandbox, it's full of weird posts
if sitebase in self.queue:
self.queue[sitebase].append(postid)
else:
Expand Down

0 comments on commit 279d112

Please sign in to comment.