Commit 0f3aadc5 by Timothée Peignier

make less compiler work

parent 0a96f136
import os
import tempfile
from compress.conf import settings
from compress.compilers import CompilerBase
......@@ -8,7 +11,7 @@ class LessCompiler(CompilerBase):
def compile_file(self, content):
tmp_file = tempfile.NamedTemporaryFile(mode='w+b')
tmp_file.write(css)
tmp_file.write(content)
tmp_file.flush()
output_file = tempfile.NamedTemporaryFile(mode='w+b')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment