Skip to content

Commit

Permalink
Update bodyfetcher.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BrockA committed Jan 12, 2016
1 parent 587d8d2 commit ed858b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bodyfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def make_api_call_for_site(self, site):
api_quota_used_per_site = api_quota_used_per_site.strip()
GlobalVars.charcoal_hq.send_message(api_quota_used_per_site, False)
clear_api_data()

if response["quota_remaining"] == 0:
GlobalVars.charcoal_hq.send_message("API reports no quota left! May be a glitch.")
GlobalVars.charcoal_hq.send_message(str(response)) # No code format for now?
Expand Down

0 comments on commit ed858b4

Please sign in to comment.