Skip to content

Commit e795464

Browse files
Update Web_Workflow_Quickstart/env.py
Co-authored-by: Dan Halbert <[email protected]>
1 parent 0c6e013 commit e795464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Web_Workflow_Quickstart/env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def enumerate_toml_files():
1414
all_files = os.listdir(SETTINGS_FOLDER)
1515
for current_file in all_files:
1616
if (
17-
current_file[:2] != "._"
18-
and current_file[-5:] == ".toml"
17+
not current_file.startswith("._")
18+
and not current_file.endswith(".toml")
1919
and current_file != "settings.toml"
2020
):
2121
found_files.append(SETTINGS_FOLDER + current_file)

0 commit comments

Comments
 (0)