summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsummain2
1 files changed, 1 insertions, 1 deletions
diff --git a/summain b/summain
index 233eff4..73aa645 100755
--- a/summain
+++ b/summain
@@ -117,7 +117,7 @@ class Summain(cliapp.Application):
root2 = root
else:
root2 = root + os.sep
- pathname = self['Name']
+ pathname = o['Name']
if pathname.startswith(root2):
return pathname[len(root2):]
elif pathname == root and o.isdir():