Update dash.py

This commit is contained in:
TPD94
2025-09-29 21:01:55 -04:00
committed by GitHub
parent 724703d14b
commit 03f08159b4

View File

@@ -254,7 +254,7 @@ class DASH:
if not session:
session = Session()
elif not isinstance(session, (Session, CurlSession)):
raise TypeError(f"Expected session to be a {Session}, not {session!r}")
raise TypeError(f"Expected session to be a {Session} or {CurlSession}, not {session!r}")
if proxy:
session.proxies.update({"all": proxy})