From d589e77adea920e47c5ddc6123de2945f8d993c3 Mon Sep 17 00:00:00 2001 From: J0J0 T Date: Sun, 10 Jul 2022 12:25:51 +0200 Subject: [PATCH] convert: playlist: Fix redundant join path It's done in _get_opts_and_config already. --- beetsplug/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 5d6f2ce07..734f393bc 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -494,7 +494,7 @@ class ConvertPlugin(BeetsPlugin): if playlist: self._log.info("Creating playlist file: {0}", playlist) if not pretend: - with open(os.path.join(dest, playlist), "w") as playlist_file: + with open(playlist, "w") as playlist_file: playlist_file.write("#EXTM3U" + "\n") self._parallel_convert(dest, opts.keep_new, path_formats, fmt, pretend,