From a1cfecc1552f038efb4e4694decda9a276d80910 Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Sun, 14 Jan 2024 13:52:25 +0100 Subject: [PATCH] Have urllib3 shut up --- inflatinator/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inflatinator/__main__.py b/inflatinator/__main__.py index 16ea62e..dd65ae9 100644 --- a/inflatinator/__main__.py +++ b/inflatinator/__main__.py @@ -5,6 +5,8 @@ import logging def main(product_file): logging.basicConfig(level=logging.DEBUG) + logging.getLogger("requests").setLevel(logging.WARNING) + logging.getLogger("urllib3").setLevel(logging.WARNING) with open(product_file, 'r') as fd: src = fd.read()