mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
dump
This commit is contained in:
parent
a441139fed
commit
bdf5c973aa
@ -176,9 +176,10 @@ class Requester(Requester_common):
|
||||
curl = self.curl
|
||||
__ = autostatus(self)
|
||||
else:
|
||||
curl = self.initcurl()
|
||||
curl = AutoCURLHandle(curl_easy_duphandle(self.curl))
|
||||
__ = 0
|
||||
|
||||
curl_easy_reset(curl)
|
||||
curl_easy_setopt(curl, CURLoption.COOKIEJAR, "")
|
||||
if timeout:
|
||||
curl_easy_setopt(curl, CURLoption.TIMEOUT_MS, timeout)
|
||||
|
Loading…
x
Reference in New Issue
Block a user