From 8901efc6ca6af9e4610f860b59fadd204f605cd3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 13 May 2010 07:41:46 -0400 Subject: [PATCH] Actually set self.name in hooke.playlist.FilePlaylist.set_path --- hooke/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/playlist.py b/hooke/playlist.py index b073387..0be9e1e 100644 --- a/hooke/playlist.py +++ b/hooke/playlist.py @@ -85,7 +85,7 @@ class FilePlaylist (Playlist): path += '.hkp' self.path = path if self.name == None: - name = os.path.basename(path) + self.name = os.path.basename(path) def is_saved(self): return self.digest() == self._digest -- 2.26.2