Skip to content

Commit 80c5e99

Browse files
authored
Do not override proxy settings of requests.get
1 parent b3f8ba3 commit 80c5e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __list_diffusion_models():
9595

9696
def http_get_json(url: str) -> dict | None:
9797
try:
98-
response = requests.get(url, stream=True, headers={}, proxies={ "http": None, "https": None }, timeout=300)
98+
response = requests.get(url, stream=True, headers={}, timeout=300)
9999
except TimeoutError:
100100
print(f"ComfyUI-Image-Saver: HTTP GET Request timed out for {url}")
101101
return None

0 commit comments

Comments
 (0)