From 67cd70621b7dca679cd930de66d883e0610a1427 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 15 Dec 2018 21:47:26 +0100 Subject: builds :) --- megapixels/app/builder/builder.py | 2 +- megapixels/app/settings/app_cfg.py | 4 ++-- site/public/research/index.html | 20 +++----------------- 3 files changed, 6 insertions(+), 20 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 diff --git a/site/public/research/index.html b/site/public/research/index.html index 8b43ac17..59a5fee9 100644 --- a/site/public/research/index.html +++ b/site/public/research/index.html @@ -26,23 +26,9 @@
-
-

Research

-
-
-
Posted
-
2018-12-15
-
-
-
By
-
Adam Harvey
-
- -
-
- -

The darkside of datasets and the future of computer vision

-
+

Research Blog

+

The darkside of datasets and the future of computer vision

+