Fixed bug where output dir was not created

This commit is contained in:
Phil Howard 2015-03-26 13:01:53 +00:00
parent 1b005493a0
commit bef0b2bbb7
1 changed files with 2 additions and 1 deletions

View File

@ -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);