aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pomu/package.py')
-rw-r--r--pomu/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/package.py b/pomu/package.py
index f3319f1..65c6d18 100644
--- a/pomu/package.py
+++ b/pomu/package.py
@@ -42,7 +42,7 @@ class Package():
return d_path
def read_path(self, d_path):
- for wd, dirs, files in d_path:
+ for wd, dirs, files in os.walk(d_path):
wd = self.strip_root(wd)
self.files.extend([(wd, f) for f in files])