From aa3f288ff7ea49fdc0b1c4fe7ca2bcec662e5e79 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 21 Dec 2022 15:40:10 +0000 Subject: [PATCH] Change timeout to ms --- pynyaata/flarerequests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynyaata/flarerequests.py b/pynyaata/flarerequests.py index 467a5fd..6650ee8 100644 --- a/pynyaata/flarerequests.py +++ b/pynyaata/flarerequests.py @@ -29,7 +29,7 @@ class FlareRequests(Session): "session": FLARESESSION, "url": url, "postData": parse.urlencode(params) if params else "", - "maxTimeout": timeout, + "maxTimeout": timeout * 1000, }, ) solution = response.json()