WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py

changeset 5832
28f36b9c925f
parent 5831
536d97e3f1a1
child 6048
82ad8ec9548c
equal deleted inserted replaced
5831:536d97e3f1a1 5832:28f36b9c925f
211 Private method to extract the data of a network reply. 211 Private method to extract the data of a network reply.
212 212
213 @param reply reference to the network reply object 213 @param reply reference to the network reply object
214 @type QNetworkReply 214 @type QNetworkReply
215 @return extracted data 215 @return extracted data
216 @type list or dict 216 @rtype list or dict
217 """ 217 """
218 result = json.loads(str(reply.readAll(), "utf-8")) 218 result = json.loads(str(reply.readAll(), "utf-8"))
219 self.__setWaitDuration(result.get("minimumWaitDuration")) 219 self.__setWaitDuration(result.get("minimumWaitDuration"))
220 return result 220 return result
221 221

eric ide

mercurial