diff options
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 |
