mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Disable logs from chardet
This commit is contained in:
@@ -9,7 +9,7 @@ from spotdl.command_line.exceptions import ArgumentError
|
|||||||
|
|
||||||
# hardcode loglevel for dependencies so that they do not spew generic
|
# hardcode loglevel for dependencies so that they do not spew generic
|
||||||
# log messages along with spotdl.
|
# log messages along with spotdl.
|
||||||
for module in ("urllib3", "spotipy", "pytube"):
|
for module in ("chardet", "urllib3", "spotipy", "pytube"):
|
||||||
logging.getLogger(module).setLevel(logging.CRITICAL)
|
logging.getLogger(module).setLevel(logging.CRITICAL)
|
||||||
|
|
||||||
coloredlogs.DEFAULT_FIELD_STYLES = {
|
coloredlogs.DEFAULT_FIELD_STYLES = {
|
||||||
|
|||||||
Reference in New Issue
Block a user