From 885fddfce8a99c4be996b0152c3f7876be721251 Mon Sep 17 00:00:00 2001
From: Simone Margaritelli <evilsocket@gmail.com>
Date: Wed, 23 Oct 2019 19:35:51 +0200
Subject: [PATCH] misc: small fix or general refactoring i did not bother
 commenting

---
 pwnagotchi/utils.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pwnagotchi/utils.py b/pwnagotchi/utils.py
index 8532ae4..4f3d10d 100644
--- a/pwnagotchi/utils.py
+++ b/pwnagotchi/utils.py
@@ -108,7 +108,9 @@ def setup_logging(args, config):
     console_handler = logging.StreamHandler()
     console_handler.setFormatter(formatter)
     root.addHandler(console_handler)
+
     # https://stackoverflow.com/questions/24344045/how-can-i-completely-remove-any-logging-from-requests-module-in-python?noredirect=1&lq=1
+    logging.getLogger("urllib3").propagate = False
     requests_log = logging.getLogger("requests")
     requests_log.addHandler(logging.NullHandler())
     requests_log.propagate = False