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 |