Skip to content

Commit 1a44d91

Browse files
committed
Fix broken requests import
Starting to play with balanced and ran into an ImportError right off the bat. :( This change is a quick fix. A more robust fix would remove the dependence on an internal, undocumented, unstable variable in another library.
1 parent 3f066bf commit 1a44d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

balanced/http_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import threading
33

44
import requests
5-
from requests.models import REDIRECT_STATI
5+
from requests.sessions import REDIRECT_STATI
66

77
from balanced import exc
88
from balanced.config import Config

0 commit comments

Comments
 (0)