From: W. Trevor King Date: Wed, 10 Nov 2010 16:13:32 +0000 (-0500) Subject: expanduser() in hooke.playlist.load(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e42f275e9f736abfdb47ae75379f0084ad9fc4a;p=hooke.git expanduser() in hooke.playlist.load(). --- diff --git a/hooke/playlist.py b/hooke/playlist.py index 3b5c874..a120aba 100644 --- a/hooke/playlist.py +++ b/hooke/playlist.py @@ -572,7 +572,7 @@ def from_string(string): def load(path=None, drivers=None, identify=True, hooke=None): """Load a playlist from a file. """ - path = playlist_path(path) + path = os.path.expanduser(playlist_path(path)) with open(path, 'r') as f: text = f.read() playlist = from_string(text)