Kronuz / pyScss

pyScss, a Scss compiler for Python
MIT License
582 stars 141 forks source link

Incorrect parameter in call to SourceFile.from_file #311

Closed papachoco closed 10 years ago

papachoco commented 10 years ago

if legacy.py line 170 a call to SourceFile.from_file is made , however, the first param (scss_file) is incorrect because SourceFile.from_file expects a file not a file name. The param should be f instead

        with open(scss_file, 'rb') as f:
            source = SourceFile.from_file(
                scss_file,
                relpath=filename or scss_file,
                is_sass=is_sass,
            )
eevee commented 10 years ago

Fixed by #310; will put out a new release later today.