projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66dda8a
)
expanduser() in hooke.playlist.load().
author
W. Trevor King
<wking@drexel.edu>
Wed, 10 Nov 2010 16:13:32 +0000
(11:13 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 10 Nov 2010 16:13:32 +0000
(11:13 -0500)
hooke/playlist.py
patch
|
blob
|
history
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)