fix for make webdocs
This commit is contained in:
parent
72bdf7aa7e
commit
0e22afef52
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def write_data(text, output_dir, outputname, module=None):
|
||||||
outputname = outputname % module
|
outputname = outputname % module
|
||||||
|
|
||||||
if not os.path.exists(output_dir):
|
if not os.path.exists(output_dir):
|
||||||
os.mkdir(output_dir)
|
os.makedirs(output_dir)
|
||||||
fname = os.path.join(output_dir, outputname)
|
fname = os.path.join(output_dir, outputname)
|
||||||
fname = fname.replace(".py", "")
|
fname = fname.replace(".py", "")
|
||||||
with open(fname, 'wb') as f:
|
with open(fname, 'wb') as f:
|
||||||
|
|
Loading…
Reference in a new issue