Fix params on FlareRequest
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-12-21 15:31:05 +00:00
parent b79ca54a9e
commit 5207794249

View File

@ -28,7 +28,7 @@ class FlareRequests(Session):
"cmd": f"request.{method.lower()}",
"session": FLARESESSION,
"url": url,
"postData": parse.urlencode(params),
"postData": parse.urlencode(params) if params else "",
"maxTimeout": timeout,
},
)