Disable warning in downloadutils
For insecure ssl connections
This commit is contained in:
parent
0295291450
commit
a3d7369576
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ from requests.packages.urllib3.exceptions import InsecureRequestWarning
|
||||||
|
|
||||||
# Disable requests logging
|
# Disable requests logging
|
||||||
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
|
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
|
||||||
logging.getLogger("requests").setLevel(logging.WARNING)
|
#logging.getLogger("requests").setLevel(logging.WARNING)
|
||||||
|
|
||||||
class DownloadUtils():
|
class DownloadUtils():
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue