From df295932548ad015e0e75795a75d4555f3348d98 Mon Sep 17 00:00:00 2001 From: Francesco Luzzana Date: Thu, 30 Jun 2022 15:56:59 +0200 Subject: [PATCH] load dotenv --- pad-bis.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pad-bis.py b/pad-bis.py index e9399e7..ec267d0 100644 --- a/pad-bis.py +++ b/pad-bis.py @@ -18,6 +18,8 @@ from pathlib import Path dotenv_path = Path("/var/www/.mw-credentials") load_dotenv(dotenv_path=dotenv_path) +# load the configuration env +load_dotenv() # prefix to add /soupboat/padliography to all the routes # and to leave the @app.route() decorator more clean