1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-11-09 22:06:47 +00:00

Also dump download responses.

This commit is contained in:
Markus Birth 2017-11-02 02:08:22 +01:00
parent 19fe09a3f7
commit a39cc4d050
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -282,6 +282,7 @@ class FotaCheck:
#print(repr(dict(params)))
req = self.sess.post(url, data=params)
if req.status_code == 200:
self.write_dump(req.text)
return req.text
else:
print("REQUEST: " + repr(req))