diff --git a/lightning/main.py b/lightning/main.py index ffd88dc..4251e69 100644 --- a/lightning/main.py +++ b/lightning/main.py @@ -172,7 +172,7 @@ def check_status(self): """ try: r = requests.get(self.host + '/status', auth=self.auth, - timeout=(10.0, 10.0)) + timeout=10.0) if not r.status_code == requests.codes.ok: print("Problem connecting to server at %s" % self.host) print("status code: %s" % r.status_code)