why are there https warnings when https checking is disabled
This commit is contained in:
parent
0008832730
commit
b5b8a2c9d5
@ -3,7 +3,7 @@ from __future__ import print_function, unicode_literals
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
up2k.py: upload to copyparty
|
up2k.py: upload to copyparty
|
||||||
2021-10-29, v0.10, ed <irc.rizon.net>, MIT-Licensed
|
2021-10-31, v0.11, ed <irc.rizon.net>, MIT-Licensed
|
||||||
https://github.com/9001/copyparty/blob/hovudstraum/bin/up2k.py
|
https://github.com/9001/copyparty/blob/hovudstraum/bin/up2k.py
|
||||||
|
|
||||||
- dependencies: requests
|
- dependencies: requests
|
||||||
@ -455,6 +455,7 @@ class Ctl(object):
|
|||||||
self.nbytes = nbytes
|
self.nbytes = nbytes
|
||||||
|
|
||||||
if ar.td:
|
if ar.td:
|
||||||
|
requests.packages.urllib3.disable_warnings()
|
||||||
req_ses.verify = False
|
req_ses.verify = False
|
||||||
if ar.te:
|
if ar.te:
|
||||||
req_ses.verify = ar.te
|
req_ses.verify = ar.te
|
||||||
|
Loading…
Reference in New Issue
Block a user