From 1aa57975e0d980151878cd262e9075f115316b70 Mon Sep 17 00:00:00 2001 From: SamyCookie Date: Tue, 8 Aug 2017 16:52:15 +0200 Subject: [PATCH] Strip Sass extension from output file Proposed fix for https://github.com/dahlia/libsass-python/issues/55 --- sassutils/builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sassutils/builder.py b/sassutils/builder.py index 76d3719d..0f866c13 100644 --- a/sassutils/builder.py +++ b/sassutils/builder.py @@ -57,7 +57,8 @@ def build_directory(sass_path, css_path, output_style='nested', if name[0] == '_': # Do not compile if it's partial continue - css_fullname = os.path.join(css_path, name) + '.css' + basename = os.path.splitext(name)[0] + css_fullname = os.path.join(css_path, basename) + '.css' css = compile(filename=sass_fullname, output_style=output_style, include_paths=[_root_sass]) 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