diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-09-26 15:30:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-09-26 15:30:15 +0200 |
| commit | d260e3a65bdec981fd98db8a2352caa9bef9ae55 (patch) | |
| tree | ce04d69a1ed647c89b5dab93391c383d6beff14f /cli/app/settings/app_cfg.py | |
| parent | a17b76ac75f506f5da6fe8adf9c36632b60d4226 (diff) | |
finalizing fixing refactor!!
Diffstat (limited to 'cli/app/settings/app_cfg.py')
| -rw-r--r-- | cli/app/settings/app_cfg.py | 5 |
1 files changed, 1 insertions, 4 deletions
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 |
