Create messages/ directory as well

This commit is contained in:
Sven Slootweg 2012-05-27 13:48:39 +02:00
parent 926f48756e
commit 01a261dd5a

2
render
View file

@ -35,7 +35,7 @@ template_message = open('%s/message.html' % options['template_dir']).read()
# Create output directory if necessary
try:
os.makedirs(options['output_dir'])
os.makedirs("%s/messages" % options['output_dir'])
except OSError:
pass