fix for make webdocs

This commit is contained in:
jborean93 2017-09-21 11:09:55 +10:00 committed by Brian Coca
parent 72bdf7aa7e
commit 0e22afef52

View file

@ -123,7 +123,7 @@ def write_data(text, output_dir, outputname, module=None):
outputname = outputname % module
if not os.path.exists(output_dir):
os.mkdir(output_dir)
os.makedirs(output_dir)
fname = os.path.join(output_dir, outputname)
fname = fname.replace(".py", "")
with open(fname, 'wb') as f: