Commit 1aa3dbe3 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix: create data dir if not exists

parent f0d3cf2c
......@@ -42,6 +42,10 @@ def launch(mode="webserver", debug=False):
from .lib.mailer import Mailer
mailer = Mailer(app)
# Create data dir if not exists
if not os.path.exists(config_reader.app_data):
if config_reader.debug and config_reader.log_dir != "stdout" and not os.path.exists(config_reader.log_dir):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment