Skip to content
This repository was archived by the owner on Jun 28, 2018. It is now read-only.

Commit 6a63a0c

Browse files
author
psychowico
committed
make this same change for "based" files too
1 parent b767020 commit 6a63a0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesscss/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def compile(self):
140140
css_based = '%s-%s.css' % (filename,
141141
LessCSS.to60(uuid4().time_low))
142142
if self._output:
143-
css_based = css_based.split('/')[-1]
143+
css_based = os.path.relpath(css_based, self._media)
144144
css_based = '%s/%s' % (self._output, css_based)
145145
command_opt.append(css_based)
146146
subprocess.call(command_opt, shell=False)

0 commit comments

Comments
 (0)