diff --git a/relative-playlist-maker.py b/relative-playlist-maker.py index e5e49ba..3cb4afd 100644 --- a/relative-playlist-maker.py +++ b/relative-playlist-maker.py @@ -24,9 +24,9 @@ def main(music_folder: Path): with m3u.open("w") as updated_contents: for track in tracks: if track.is_absolute(): - updated_contents.write(str(track.relative_to(m3u, walk_up=True).as_posix())) + updated_contents.write(track.relative_to(m3u, walk_up=True).as_posix()) else: - updated_contents.write(str(track.as_posix())) + updated_contents.write(track.as_posix()) if __name__ == "__main__":