fix path issue

This commit is contained in:
Ville Rantanen
2015-06-25 10:07:36 +03:00
parent 86f3f09359
commit ba2417d440

View File

@@ -42,7 +42,7 @@ def generate_index(opts):
files.sort()
f.write(get_header(opts.title))
if opts.parent:
f.write(get_pathlink('..'))
f.write(get_pathlink(path,'..'))
for di in dirs:
f.write(get_pathlink(path,di))
for fi in files: