From dd9de059688f401f7ca5269da53506af60f38b43 Mon Sep 17 00:00:00 2001 From: MartyLake Date: Tue, 23 Jul 2019 23:50:20 +0200 Subject: [PATCH] Review: Remove unnecessary split of concat --- beetsplug/smartplaylist.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beetsplug/smartplaylist.py b/beetsplug/smartplaylist.py index a440cb7fd..757879770 100644 --- a/beetsplug/smartplaylist.py +++ b/beetsplug/smartplaylist.py @@ -209,7 +209,6 @@ class SmartPlaylistPlugin(BeetsPlugin): for path in m3us[m3u]: if self.config['forward_slash'].get(): path = pathlib_as_posix(path) - f.write(path) - f.write(b'\n') + f.write(path + b'\n') self._log.info(u"{0} playlists updated", len(self._matched_playlists))