更新 tp/scripts/beauty.py
This commit is contained in:
parent
74266e8cce
commit
7c5935b590
@ -105,7 +105,7 @@ def send_images(image_urls: list[str]) -> bool:
|
||||
)
|
||||
|
||||
try:
|
||||
with urllib.request.urlopen(request, timeout=10) as response:
|
||||
with urllib.request.urlopen(request, timeout=30) as response:
|
||||
if 200 <= response.status < 300:
|
||||
return True
|
||||
payload = json.load(response)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user