From a57581828c788d29092fba61abcbf5bcf310035f Mon Sep 17 00:00:00 2001 From: S-mishina <45090872+S-mishina@users.noreply.github.com> Date: Sat, 14 Sep 2024 22:08:27 +0900 Subject: [PATCH] Add comment Signed-off-by: S-mishina <45090872+S-mishina@users.noreply.github.com> --- project/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project/main.py b/project/main.py index 329f1732..34cd4f6e 100644 --- a/project/main.py +++ b/project/main.py @@ -172,6 +172,7 @@ def page_not_found(e): if not os.path.exists(yaml_file): app.logger.info("{} not found".format(yaml_file)) sys.exit(1) + # TODO: When the file does not exist, a 404 should be generated when the custom_rule function is executed. else: app.logger.info("{} file check ok".format(yaml_file)) with open(yaml_file, "r") as yaml_file: