From b5b8a2c9d533a31cf34b8ae430e08a1819c5750e Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 31 Oct 2021 03:37:31 +0100 Subject: [PATCH] why are there https warnings when https checking is disabled --- bin/up2k.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/up2k.py b/bin/up2k.py index 44f1cdb2..47f0dfbe 100755 --- a/bin/up2k.py +++ b/bin/up2k.py @@ -3,7 +3,7 @@ from __future__ import print_function, unicode_literals """ up2k.py: upload to copyparty -2021-10-29, v0.10, ed , MIT-Licensed +2021-10-31, v0.11, ed , 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