mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
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
|
||||
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
|
||||
|
||||
- dependencies: requests
|
||||
|
@ -455,6 +455,7 @@ class Ctl(object):
|
|||
self.nbytes = nbytes
|
||||
|
||||
if ar.td:
|
||||
requests.packages.urllib3.disable_warnings()
|
||||
req_ses.verify = False
|
||||
if ar.te:
|
||||
req_ses.verify = ar.te
|
||||
|
|
Loading…
Reference in a new issue