fix path issue
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user