Skip to content

Commit 1db60c2

Browse files
author
Joshua Schmidlkofer
committed
API Update: set noJsonCallBack for all requests.
1 parent 942d9e3 commit 1db60c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uptimerobot/uptimerobot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def deleteMonitorById(self, monitorID):
167167

168168
def requestApi(self, url):
169169
response = urllib_request.urlopen(url)
170-
content = self.strangeJsonUnpack(response.read().decode('utf-8'))
170+
content = response.read().decode('utf-8')
171171
jContent = json.loads(content)
172172
if jContent.get('stat'):
173173
stat = jContent.get('stat')

0 commit comments

Comments
 (0)