Skip to content

Commit

Permalink
Merge pull request #10 from CodeBradley/master
Browse files Browse the repository at this point in the history
Fixed error where requestApi didn't return when the API request failed, fixes #9
  • Loading branch information
walterrenner committed Jan 6, 2016
2 parents a485a77 + a7b015d commit 4474c62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uptimerobot/uptimerobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ def requestApi(self, url):
stat = jContent.get('stat')
if stat == "ok":
return True, jContent
else:
return False, jContent
return False, jContent



Expand Down

0 comments on commit 4474c62

Please sign in to comment.