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() files.sort()
f.write(get_header(opts.title)) f.write(get_header(opts.title))
if opts.parent: if opts.parent:
f.write(get_pathlink('..')) f.write(get_pathlink(path,'..'))
for di in dirs: for di in dirs:
f.write(get_pathlink(path,di)) f.write(get_pathlink(path,di))
for fi in files: for fi in files: