]> www.vanbest.org Git - motioneye-debian/commitdiff
conf and run paths are now by default absolute
authorCalin Crisan <ccrisan@gmail.com>
Sun, 13 Oct 2013 14:52:18 +0000 (17:52 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Sun, 13 Oct 2013 14:52:18 +0000 (17:52 +0300)
settings_default.py

index a7846dae79cdf658cddd99ca85f435cffbbc8fef..27dab88bf75aad0a403ff8e8dd25f2ed2ed13011 100644 (file)
@@ -5,8 +5,8 @@ import sys
 
 
 PROJECT_PATH = os.path.dirname(sys.argv[0])
-CONF_PATH = os.path.join(PROJECT_PATH, 'conf')
-RUN_PATH = os.path.join(PROJECT_PATH, 'run')
+CONF_PATH = os.path.abspath(os.path.join(PROJECT_PATH, 'conf'))
+RUN_PATH = os.path.abspath(os.path.join(PROJECT_PATH, 'run'))
 
 LOG_LEVEL = logging.DEBUG
 DEBUG = (LOG_LEVEL == logging.DEBUG)