From 38fd060877b83459eb73fd494041377085e91677 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 11 Nov 2011 06:51:47 -0500 Subject: [PATCH] Expand ~ in the glob path of 'glob curves to playlist'. --- hooke/plugin/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/plugin/playlist.py b/hooke/plugin/playlist.py index b5a2f2a..88608d6 100644 --- a/hooke/plugin/playlist.py +++ b/hooke/plugin/playlist.py @@ -322,7 +322,7 @@ Additional information for the input :class:`hooke.curve.Curve`. def _run(self, hooke, inqueue, outqueue, params): p = self._playlist(hooke, params) - for path in sorted(glob.glob(params['input'])): + for path in sorted(glob.glob(os.path.expanduser(params['input']))): try: p.append_curve_by_path(path, params['info'], hooke=hooke) except NotRecognized, e: -- 2.26.2