From 4a70f134878237d331aee63cc62398d2845a680c Mon Sep 17 00:00:00 2001 From: Christopher Bess Date: Mon, 11 Feb 2013 15:40:52 -0600 Subject: [PATCH] - better root dir detection --- settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index 20d0399..d017a42 100644 --- a/settings.py +++ b/settings.py @@ -10,8 +10,8 @@ # Should not be changed, this is the absolute path to the directory # containing main.py, core/, etc. # type: string -# default: os.path.abspath('.') -ROOT_DIR = os.path.abspath('.') +# default: os.path.dirname(__file__) +ROOT_DIR = os.path.dirname(__file__) # An absolute path to the directory that will store all indexes # for the search engine. Must have trailing slash.