diff options
author | J0J0 T <jojo@peek-a-boo.at> | 2022-08-12 08:56:31 +0200 |
---|---|---|
committer | J0J0 Todos <jojo@peek-a-boo.at> | 2023-03-29 07:21:27 +0200 |
commit | ba3740c8fe41b305d7ede50031e177f8ff2c66dd (patch) | |
tree | 26663255404548922374fea3c3677d1b8dbd7e3c | |
parent | 55b386375ae0426fd4c0742644c230e25fdc4a7d (diff) |
convert: playlist: Fix filename attr in load method
-rw-r--r-- | beets/util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/beets/util/__init__.py b/beets/util/__init__.py index 3d27edd5e..58eb47034 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -153,7 +153,7 @@ class M3UFile(): def load(self): """Reads the m3u file from disk and sets the object's attributes. """ - with open(self.name, "r") as playlist_file: + with open(self.path, "r") as playlist_file: raw_contents = playlist_file.readlines() self.extm3u = True if raw_contents[0] == "#EXTM3U" else False for line in raw_contents[1:]: |