mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue