From ca18e742037c01fea73b9a91e585414f113d83b4 Mon Sep 17 00:00:00 2001 From: Nathan Thomas Date: Thu, 17 Feb 2022 19:53:21 -0800 Subject: [PATCH] Remove unused function --- streamrip/utils.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/streamrip/utils.py b/streamrip/utils.py index 4bcdb01..bd69752 100644 --- a/streamrip/utils.py +++ b/streamrip/utils.py @@ -182,21 +182,6 @@ def tidal_cover_url(uuid, size): return TIDAL_COVER_URL.format(uuid=uuid.replace("-", "/"), height=size, width=size) -def init_log(path: Optional[str] = None, level: str = "DEBUG"): - """Create a log. - - :param path: - :type path: Optional[str] - :param level: - :type level: str - :param rotate: - :type rotate: str - """ - # path = os.path.join(LOG_DIR, "streamrip.log") - level = logging.getLevelName(level) - logging.basicConfig(level=level) - - def decrypt_mqa_file(in_path, out_path, encryption_key): """Decrypt an MQA file.