From 1f187138754fba694d6cd1e5d708a6b1188ed630 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 31 Oct 2021 15:10:54 -0700 Subject: [PATCH] Add reminder of what __file__.parent.parent evaluates to. --- frontends/etiquette_flask/backend/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontends/etiquette_flask/backend/common.py b/frontends/etiquette_flask/backend/common.py index 04e4d83..5dbbd67 100644 --- a/frontends/etiquette_flask/backend/common.py +++ b/frontends/etiquette_flask/backend/common.py @@ -19,6 +19,8 @@ from . import sessions # Flask init ####################################################################################### +# __file__ = .../etiquette_flask/backend/common.py +# root_dir = .../etiquette_flask root_dir = pathclass.Path(__file__).parent.parent TEMPLATE_DIR = root_dir.with_child('templates')