summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-08-08 14:51:59 +0100
committerLars Wirzenius <liw@liw.fi>2011-08-08 14:51:59 +0100
commit3ae02725e57e4e1dd1f4d48edfc31dcc15ef47ca (patch)
tree58deaa6a0e48597994c10f9759711a67cb09a4f1 /summain
parentd302e6765609392389b48be701998943975843bb (diff)
downloadsummain-3ae02725e57e4e1dd1f4d48edfc31dcc15ef47ca.tar.gz
Fix it better.
Diffstat (limited to 'summain')
-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():