mirror of
https://github.com/SinTan1729/recipe-box-for-wikijs.git
synced 2024-12-25 17:58:35 -06:00
Fix httpx client instantiation.
This commit is contained in:
parent
87360450ae
commit
7dfb54addc
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import httpx
|
import httpx
|
||||||
url_getter = httpx
|
url_getter = httpx.Client(http2=True)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import requests
|
import requests
|
||||||
url_getter = requests
|
url_getter = requests
|
||||||
|
|
Loading…
Reference in a new issue