summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.py b/play.py
index 33f4ab8..6e02198 100755
--- a/play.py
+++ b/play.py
@@ -920,7 +920,7 @@ class PlaylistWindow(TagListWindow):
if VALID_SONG(filename):
self.append(PlaylistEntry(pathname))
elif VALID_PLAYLIST(filename):
- self.add_playlist(filename)
+ self.add_playlist(pathname)
if os.path.isdir(pathname):
subdirs.append(pathname)
map(self.add_dir, subdirs)