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.
21
21
``source_comments='map' ``.
22
22
23
23
- Fixed Python 3 incompatibility of :program: `sassc ` program.
24
+ - Fixed a bug that multiple ``include_paths `` doesn't work on Windows.
24
25
25
26
26
27
Version 0.3.0
Original file line number Diff line number Diff line change 11
11
12
12
"""
13
13
import collections
14
+ import os
14
15
import os .path
15
16
import sys
16
17
@@ -201,11 +202,11 @@ def compile(**kwargs):
201
202
include_paths = b''
202
203
else :
203
204
if isinstance (include_paths , collections .Sequence ):
204
- include_paths = ':' .join (include_paths )
205
+ include_paths = os . pathsep .join (include_paths )
205
206
elif not isinstance (include_paths , string_types ):
206
207
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 ))
209
210
if isinstance (include_paths , text_type ):
210
211
include_paths = include_paths .encode (fs_encoding )
211
212
try :
You can’t perform that action at this time.
0 commit comments