From c1b3949edb943cc21a63c34d6a01ed59e9b6536d Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Wed, 20 May 2020 12:32:21 +0530 Subject: [PATCH] Disable logs from chardet --- spotdl/command_line/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotdl/command_line/__main__.py b/spotdl/command_line/__main__.py index 0c89638..97133d5 100644 --- a/spotdl/command_line/__main__.py +++ b/spotdl/command_line/__main__.py @@ -9,7 +9,7 @@ from spotdl.command_line.exceptions import ArgumentError # hardcode loglevel for dependencies so that they do not spew generic # log messages along with spotdl. -for module in ("urllib3", "spotipy", "pytube"): +for module in ("chardet", "urllib3", "spotipy", "pytube"): logging.getLogger(module).setLevel(logging.CRITICAL) coloredlogs.DEFAULT_FIELD_STYLES = {