Update Web_Workflow_Quickstart/env.py

Co-authored-by: Dan Halbert <halbert@halwitz.org>
This commit is contained in:
Melissa LeBlanc-Williams 2022-12-22 13:59:47 -08:00 committed by GitHub
parent 0c6e013bce
commit e795464e7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,8 @@ def enumerate_toml_files():
all_files = os.listdir(SETTINGS_FOLDER)
for current_file in all_files:
if (
current_file[:2] != "._"
and current_file[-5:] == ".toml"
not current_file.startswith("._")
and not current_file.endswith(".toml")
and current_file != "settings.toml"
):
found_files.append(SETTINGS_FOLDER + current_file)