Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
botocore.vendored.requests.packages.urllib3 don't have disable_warnings,so someone will have trouble.
#7
  • Loading branch information
xiaozhu1337 authored Nov 27, 2019
1 parent a04c4cb commit 2ff16e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enumerate_iam/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ def configure_logging():
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

import botocore.vendored.requests.packages.urllib3 as urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
# import botocore.vendored.requests.packages.urllib3 as urllib3
urllib3.disable_warnings(botocore.vendored.requests.packages.urllib3.exceptions.InsecureRequestWarning)


def enumerate_iam(access_key, secret_key, session_token, region):
Expand Down

0 comments on commit 2ff16e5

Please sign in to comment.