From 7e42f275e9f736abfdb47ae75379f0084ad9fc4a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 10 Nov 2010 11:13:32 -0500 Subject: [PATCH] expanduser() in hooke.playlist.load(). --- hooke/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2