summaryrefslogtreecommitdiff
path: root/xnt/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'xnt/tasks.py')
-rw-r--r--xnt/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xnt/tasks.py b/xnt/tasks.py
index fcf7a9a..b8a7ad8 100644
--- a/xnt/tasks.py
+++ b/xnt/tasks.py
@@ -40,7 +40,7 @@ def expandpath(path_pattern):
:rtype: generator of strings
:return: List of paths and/ or files
"""
- return glob.iglob(path)
+ return glob.iglob(path_pattern)
def cp(src="", dst="", files=None):
"""Copy `src` to `dst` or copy `files` to `dst`