Skip to content

Commit

Permalink
Prevent debug rooms post when error is "site is required" -autopull
Browse files Browse the repository at this point in the history
  • Loading branch information
makyen committed Nov 13, 2019
1 parent 3269016 commit 8a95311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bodyfetcher.py
Expand Up @@ -287,7 +287,7 @@ def make_api_call_for_site(self, site):

GlobalVars.api_request_lock.release()

if len(message_hq) > 0:
if len(message_hq) > 0 and not "site is required" in message_hq:
tell_rooms_with("debug", message_hq.strip())

if "items" not in response:
Expand Down

0 comments on commit 8a95311

Please sign in to comment.