Fixed bug where output dir was not created
This commit is contained in:
parent
1b005493a0
commit
bef0b2bbb7
|
@ -43,10 +43,11 @@ select_overlays = []
|
|||
overlays_html = ''
|
||||
|
||||
try:
|
||||
os.mkdir('output')
|
||||
os.mkdir('output/{}'.format(lang))
|
||||
os.mkdir('output/{}/pinout'.format(lang))
|
||||
except OSError:
|
||||
pass
|
||||
exit("Failed to create required directories!")
|
||||
|
||||
def cssify(value):
|
||||
value = slugify(value);
|
||||
|
|
Loading…
Reference in New Issue