diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-08 14:51:59 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-08 14:51:59 +0100 |
commit | 3ae02725e57e4e1dd1f4d48edfc31dcc15ef47ca (patch) | |
tree | 58deaa6a0e48597994c10f9759711a67cb09a4f1 | |
parent | d302e6765609392389b48be701998943975843bb (diff) | |
download | summain-3ae02725e57e4e1dd1f4d48edfc31dcc15ef47ca.tar.gz |
Fix it better.
-rwxr-xr-x | summain | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(): |