libsass-python icon indicating copy to clipboard operation
libsass-python copied to clipboard

builder.Manifest.build_one recursive css_path

Open admarrs opened this issue 11 years ago • 0 comments

If I try to use builder.Manifest.build_one to build a single .scss file the output .css file get's place 2 iterations of css-path down.

e.g manifest = builder.Manifest(sass_path='static/sass', css_path='./static/css') manifest.build_one('.','blog.scss')

will result in 'blog.scss.css' being placed at 'static/css/static/css'

I think line 182 in builder.py should read

css_path = os.path.join(package_dir, css_filename)

rather than

css_path = os.path.join(package_dir, self.css_path, css_filename)

admarrs avatar Aug 24 '14 15:08 admarrs