Suppress requests module. Close #72

This commit is contained in:
Alessandro Maggio
2021-02-14 11:27:05 +01:00
committed by GitHub
parent 4dbd850184
commit 2771aa41c6

View File

@@ -32,7 +32,9 @@ from TwitchChannelPointsMiner.utils import (
# Suppress:
# - chardet.charsetprober - [feed]
# - chardet.charsetprober - [get_confidence]
# - requests - [Starting new HTTPS connection (1)]
logging.getLogger("chardet.charsetprober").setLevel(logging.ERROR)
logging.getLogger("requests").setLevel(logging.ERROR)
logger = logging.getLogger(__name__)