fix for make webdocs

pull/30671/head
jborean93 7 years ago committed by Brian Coca
parent 72bdf7aa7e
commit 0e22afef52

@ -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…
Cancel
Save