diff --git a/sass.py b/sass.py index a140d7e9..abca5073 100644 --- a/sass.py +++ b/sass.py @@ -150,13 +150,14 @@ def compile_dirname( for dirpath, _, filenames in os.walk(search_path): filenames = [ filename for filename in filenames - if filename.endswith('.scss') and not filename.startswith('_') + if filename.endswith(('.scss', '.sass')) + and not filename.startswith('_') ] for filename in filenames: input_filename = os.path.join(dirpath, filename) relpath_to_file = os.path.relpath(input_filename, search_path) output_filename = os.path.join(output_path, relpath_to_file) - output_filename = re.sub('.scss$', '.css', output_filename) + output_filename = re.sub('.s[ac]ss$', '.css', output_filename) input_filename = input_filename.encode(fs_encoding) s, v, _ = compile_filename( input_filename, output_style, source_comments, include_paths, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy