Move some playlist-related expanduser() calls from hooke.plugin.* to hooke.playlist...
[hooke.git] / hooke / plugin / playlists.py
index d15740eefe09780b342451efa2beb4e321041886..e047cb881e5ef1abe2feeba620838871f74c8a05 100644 (file)
@@ -21,8 +21,6 @@ several associated :class:`hooke.command.Command`\s for handling
 lists of :class:`hooke.playlist.Playlist` classes.
 """
 
-import os.path
-
 from ..command import Command, Argument, Failure
 from ..playlist import FilePlaylist
 from . import Builtin
@@ -119,7 +117,7 @@ Default filename for future saves.
     def _run(self, hooke, inqueue, outqueue, params):
         p = FilePlaylist(
             drivers=hooke.drivers,
-            path=os.path.expanduser(params['file']),
+            path=params['file'],
             )
         self._set_playlist(hooke, params, p)
         outqueue.put(p)