From 689ffe5a2579348bcd466af2211bbd1f92664594 Mon Sep 17 00:00:00 2001 From: DarkContact Date: Tue, 19 Nov 2019 20:28:12 +0300 Subject: [PATCH] fix compile on windows (with code page 1251) --- css/postprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/postprocess.py b/css/postprocess.py index 491f6757..4017f34e 100755 --- a/css/postprocess.py +++ b/css/postprocess.py @@ -134,7 +134,7 @@ def postprocess(files, process_imports, out_file): else: out.write(line) - with open(out_file, mode='w') as out: + with open(out_file, mode='w', encoding='utf8') as out: # Put a helper comment and a license blob on top out.write("""/* Generated using `./postprocess.py {}`. Do not edit. */ -- 2.30.2