Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Signed-off-by: S-mishina <[email protected]>
  • Loading branch information
S-mishina committed Sep 14, 2024
1 parent 20908ac commit a575818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a575818

Please sign in to comment.