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,
)
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