projects
/
hooke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
expanduser() in hooke.playlist.load().
[hooke.git]
/
hooke
/
playlist.py
diff --git
a/hooke/playlist.py
b/hooke/playlist.py
index 3b5c8743ba30c04908f32effde1eec80ceafc49c..a120aba710ec8fc69487cc5bf942c6bc0490e13b 100644
(file)
--- 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)