From: W. Trevor King Date: Thu, 13 May 2010 11:41:46 +0000 (-0400) Subject: Actually set self.name in hooke.playlist.FilePlaylist.set_path X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd8889f4ce0e6ef2a5bd94528bb3d93f0942fa45;p=hooke.git Actually set self.name in hooke.playlist.FilePlaylist.set_path --- 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