mirror of
https://github.com/weyne85/PentestGPT.git
synced 2025-10-29 16:58:59 +00:00
fix login
This commit is contained in:
parent
4d72feaf6f
commit
c8d9be29b6
@ -132,6 +132,7 @@ class ChatGPT:
|
|||||||
r = requests.post(
|
r = requests.post(
|
||||||
url, headers=self.headers, json=data, proxies=self.proxies, stream=True
|
url, headers=self.headers, json=data, proxies=self.proxies, stream=True
|
||||||
)
|
)
|
||||||
|
|
||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
# wait for 20s
|
# wait for 20s
|
||||||
logger.error(r.text)
|
logger.error(r.text)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user