Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sass.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from __future__ import absolute_import
import collections
import inspect
from io import open
import os
import os.path
import re
Expand Down Expand Up @@ -166,7 +167,8 @@ def compile_dirname(
if s:
v = v.decode('UTF-8')
mkdirp(os.path.dirname(output_filename))
with open(output_filename, 'w') as output_file:
with open(output_filename, 'w',
encoding="UTF-8") as output_file:
output_file.write(v)
else:
return False, v
Expand Down