mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 11:05:25 +01:00
typo
This commit is contained in:
parent
628e0a67c3
commit
eb19e7345c
@ -367,10 +367,8 @@ def _clean_format_str(folder: str, track: str, file_format: str) -> Tuple[str, s
|
|||||||
fs = fs.strip()
|
fs = fs.strip()
|
||||||
|
|
||||||
# default to pre-chosen string if format is invalid
|
# default to pre-chosen string if format is invalid
|
||||||
if (
|
if file_format in ("MP3", "Unknown") and (
|
||||||
file_format in ("MP3", "Unknown")
|
"bit_depth" in fs or "sampling_rate" in fs
|
||||||
and "bit_depth" in file_format
|
|
||||||
or "sampling_rate" in file_format
|
|
||||||
):
|
):
|
||||||
default = DEFAULT_FORMATS[file_format][i]
|
default = DEFAULT_FORMATS[file_format][i]
|
||||||
logger.error(
|
logger.error(
|
||||||
|
Loading…
Reference in New Issue
Block a user