From 3ae02725e57e4e1dd1f4d48edfc31dcc15ef47ca Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 8 Aug 2011 14:51:59 +0100 Subject: Fix it better. --- summain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'summain') 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(): -- cgit v1.2.1