summaryrefslogtreecommitdiff
path: root/play.py
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-10-30 01:47:14 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-10-30 01:47:14 (GMT)
commit0121330b57fcdcc600afe8d19dadf2f7d24d66d4 (patch)
treec0e206c77666f12b3735717d1038de5fad733e5c /play.py
parentbdedcd26d046d2283aebf5eb85f09634bef0d3db (diff)
downloadplay-0121330b57fcdcc600afe8d19dadf2f7d24d66d4.tar.xz
play: fix playlist loading from last commit
Diffstat (limited to 'play.py')
-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)