Fix httpx client instantiation.

This commit is contained in:
Louis Cordier 2023-07-01 13:45:15 +02:00
parent 87360450ae
commit 7dfb54addc

View file

@ -14,7 +14,7 @@ import sys
try:
import httpx
url_getter = httpx
url_getter = httpx.Client(http2=True)
except ImportError:
import requests
url_getter = requests