Fix logging in spotdl.py (#364)

* Fix import typo (logging -> logger)

* Fix logging in handle.py
This commit is contained in:
Ritiek Malhotra
2018-09-30 12:53:28 +05:30
committed by GitHub
parent fc7d5abf16
commit 1d54ffb63c
3 changed files with 6 additions and 2 deletions

View File

@@ -3,6 +3,10 @@ import logzero
_log_format = ("%(color)s%(levelname)s:%(end_color)s %(message)s")
_formatter = logzero.LogFormatter(fmt=_log_format)
# Set up a temporary logger with default log level so that
# it can be used before log level argument is determined
logzero.setup_default_logger(formatter=_formatter)
# options
args = None