From ed4df7fb4e146e8c4b5427d00b595b82b655de80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Wed, 23 Oct 2013 16:50:34 +0200 Subject: [PATCH] local_config: fix configuration --- local_config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/local_config.py b/local_config.py index 95cd37a..98471a5 100644 --- a/local_config.py +++ b/local_config.py @@ -1,4 +1,10 @@ import logging +import os + +_PROJECT_PATH = os.path.join(os.path.dirname(__file__), '..') + +# Static folder +static_root = os.path.join(_PROJECT_PATH, 'cam/static') ## Virtual hosts configuration hosts = {