Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
was it this?
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Feb 20, 2017
1 parent 1508497 commit f1dd840
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions system/cachetMonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,14 @@ def __init__(self):
self.api_token = self.config['api_token']
self.maxRetries = self.config['retries']

try:
if self.checkInitialPing() == 200:
self.checkSites()
else:
exit()
except Exception as e:
self.logs.error(e)
# try:
# if self.checkInitialPing() == 200:
# self.checkSites()
# else:
# exit()
# except Exception as e:
# self.logs.error(e)
self.checkSites()

def checkSites(self):
# Count how many sites to monitor
Expand Down

0 comments on commit f1dd840

Please sign in to comment.