Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nathom committed Mar 4, 2021
1 parent 628e0a6 commit eb19e73
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions qobuz_dl/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,8 @@ def _clean_format_str(folder: str, track: str, file_format: str) -> Tuple[str, s
fs = fs.strip()

# default to pre-chosen string if format is invalid
if (
file_format in ("MP3", "Unknown")
and "bit_depth" in file_format
or "sampling_rate" in file_format
if file_format in ("MP3", "Unknown") and (
"bit_depth" in fs or "sampling_rate" in fs
):
default = DEFAULT_FORMATS[file_format][i]
logger.error(
Expand Down

0 comments on commit eb19e73

Please sign in to comment.