From 743cff1c87106a85d53079d006e8e13b5560a855 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 21 Dec 2021 10:37:05 +0200 Subject: fix typo (closes #94) --- app/dl_formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dl_formats.py b/app/dl_formats.py index 2a5bb5a..c06b93b 100644 --- a/app/dl_formats.py +++ b/app/dl_formats.py @@ -60,7 +60,7 @@ def get_opts(format: str, quality: str, ytdl_opts: dict) -> dict: opts["postprocessors"].append({ "key": "FFmpegExtractAudio", "preferredcodec": "mp3", - "preferredquality": 0 if quality == "best" else quality}, + "preferredquality": 0 if quality == "best" else quality, }) opts["writethumbnail"] = True opts["postprocessors"].append({"key": "FFmpegMetadata"}) -- cgit