respect output directory
This commit is contained in:
parent
f55d6c2799
commit
0537d952b2
2 changed files with 8 additions and 3 deletions
|
@ -217,7 +217,7 @@ def convertfile(pagedir, overwrite = False):
|
|||
|
||||
content = readfile(curr_rev)
|
||||
content = convert_markup(pagename, content)
|
||||
out_file = dw.wikiFn(pagename)
|
||||
out_file = os.path.join(output_dir, dw.wikiFN(pagename))
|
||||
print "dokuname: [%s]" % out_file
|
||||
writefile(out_file, content, overwrite = overwrite)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue