Removed "prints" :)

This commit is contained in:
Adolfo Gómez García 2021-10-15 10:44:22 +02:00
parent 293b7f02ad
commit 741855030f

View File

@ -183,7 +183,6 @@ class RestApi:
def _open(
url: str, certErrorCallback: typing.Optional[CertCallbackType] = None
) -> typing.Any:
print('Open')
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
@ -246,7 +245,6 @@ class RestApi:
def getUrl(
url: str, certErrorCallback: typing.Optional[CertCallbackType] = None
) -> bytes:
print(url)
with RestApi._open(url, certErrorCallback) as response:
resp = response.read()