Skip to content

Commit 49d8900

Browse files
jeffakolbAaron Gonzales
authored andcommitted
Configure session not to trust env (#48)
don't pick up .netrc dummy creds
1 parent 9749325 commit 49d8900

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

searchtweets/result_stream.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def make_session(username=None, password=None, bearer_token=None):
4545
raise KeyError
4646

4747
session = requests.Session()
48+
session.trust_env = False
4849
headers = {'Accept-encoding': 'gzip',
4950
'User-Agent': 'twitterdev-search-tweets-python/' + VERSION}
5051
if bearer_token:

0 commit comments

Comments
 (0)