This repository was archived by the owner on Oct 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ To be released.
2121 ``source_comments='map' ``.
2222
2323- Fixed Python 3 incompatibility of :program: `sassc ` program.
24+ - Fixed a bug that multiple ``include_paths `` doesn't work on Windows.
2425
2526
2627Version 0.3.0
Original file line number Diff line number Diff line change 1111
1212"""
1313import collections
14+ import os
1415import os .path
1516import sys
1617
@@ -201,11 +202,11 @@ def compile(**kwargs):
201202 include_paths = b''
202203 else :
203204 if isinstance (include_paths , collections .Sequence ):
204- include_paths = ':' .join (include_paths )
205+ include_paths = os . pathsep .join (include_paths )
205206 elif not isinstance (include_paths , string_types ):
206207 raise TypeError ('include_paths must be a sequence of strings, or '
207- 'a colon-separated string, not ' +
208- repr (include_paths ))
208+ 'a colon-separated (or semicolon-separated if '
209+ 'Windows) string, not ' + repr (include_paths ))
209210 if isinstance (include_paths , text_type ):
210211 include_paths = include_paths .encode (fs_encoding )
211212 try :
You can’t perform that action at this time.
0 commit comments