From d260e3a65bdec981fd98db8a2352caa9bef9ae55 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 26 Sep 2020 15:30:15 +0200 Subject: finalizing fixing refactor!! --- cli/app/settings/app_cfg.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cli/app/settings/app_cfg.py') diff --git a/cli/app/settings/app_cfg.py b/cli/app/settings/app_cfg.py index 0d724c7..5fc4982 100644 --- a/cli/app/settings/app_cfg.py +++ b/cli/app/settings/app_cfg.py @@ -58,10 +58,7 @@ URL_MEDIA = join(URL_DATA, 'media') URL_UPLOADS = join(URL_DATA, 'uploads') URL_EXPORTS = join(URL_DATA, 'exports') -if 'cli' in os.getcwd(): - DIR_STATIC = os.path.abspath('../static') -else: - DIR_STATIC = os.path.abspath('static') +DIR_STATIC = join(DIR_APP, 'static') HASH_TREE_DEPTH = 3 # for sha256 subdirs HASH_BRANCH_SIZE = 3 # for sha256 subdirs -- cgit v1.2.3-70-g09d2