diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 21:47:26 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 21:47:26 +0100 |
| commit | 67cd70621b7dca679cd930de66d883e0610a1427 (patch) | |
| tree | 9a243dd9bf775beeb6756941a20d55f6babe95ec /megapixels | |
| parent | 716f2f82a69a5e554d3e3edd70bcb1d72bff90aa (diff) | |
builds :)
Diffstat (limited to 'megapixels')
| -rw-r--r-- | megapixels/app/builder/builder.py | 2 | ||||
| -rw-r--r-- | megapixels/app/settings/app_cfg.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/megapixels/app/builder/builder.py b/megapixels/app/builder/builder.py index cb5d8fe9..df609f60 100644 --- a/megapixels/app/builder/builder.py +++ b/megapixels/app/builder/builder.py @@ -74,7 +74,7 @@ def build_research_index(research_posts): research_posts=research_posts, latest_research_post=research_posts[-1], ) - output_fn = public_path + '/research/index.html' + output_fn = cfg.DIR_SITE_PUBLIC + '/research/index.html' with open(output_fn, "w") as file: file.write(html) diff --git a/megapixels/app/settings/app_cfg.py b/megapixels/app/settings/app_cfg.py index 9e03357b..f861700c 100644 --- a/megapixels/app/settings/app_cfg.py +++ b/megapixels/app/settings/app_cfg.py @@ -61,8 +61,8 @@ DIR_TEST_IMAGES = join(DIR_APP, 'test', 'images') # .env config for keys # ----------------------------------------------------------------------------- -DIR_DOTENV = join(DIR_APP, '.env') -load_dotenv(dotenv_path=DIR_DOTENV) +# DIR_DOTENV = join(DIR_APP, '.env') +load_dotenv() # dotenv_path=DIR_DOTENV) # ----------------------------------------------------------------------------- # Drawing, GUI settings |
