Skip to content

Commit 18699d6

Browse files
author
Guilhem MAS-PAITRAULT
committed
[Update]Shortened condition as suggested
1 parent ca385fd commit 18699d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def compile_dirname(
150150
for dirpath, _, filenames in os.walk(search_path):
151151
filenames = [
152152
filename for filename in filenames
153-
if (filename.endswith('.scss') or filename.endswith('.sass'))
153+
if filename.endswith(('.scss', '.sass'))
154154
and not filename.startswith('_')
155155
]
156156
for filename in filenames:

0 commit comments

Comments
 (0)