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