Forget to remove constant
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0c6f893a6f
commit
2095c620eb
@ -1,6 +1,6 @@
|
|||||||
from urllib import parse
|
from urllib import parse
|
||||||
from requests import RequestException, Response, Session, post
|
from requests import RequestException, Response, Session, post
|
||||||
from .config import CLOUDPROXY_ENDPOINT, REQUESTS_TIMEOUT
|
from .config import CLOUDPROXY_ENDPOINT
|
||||||
|
|
||||||
|
|
||||||
class FlareRequests(Session):
|
class FlareRequests(Session):
|
||||||
@ -24,7 +24,7 @@ class FlareRequests(Session):
|
|||||||
post_data = {
|
post_data = {
|
||||||
"cmd": f"request.{method.lower()}",
|
"cmd": f"request.{method.lower()}",
|
||||||
"session": FLARESESSION,
|
"session": FLARESESSION,
|
||||||
"url": url
|
"url": url,
|
||||||
}
|
}
|
||||||
|
|
||||||
if params:
|
if params:
|
||||||
|
Reference in New Issue
Block a user