mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 15:35:12 +00:00
fix(webui): use utf-8 encoding for icon reading
This commit is contained in:
parent
1b83b7077f
commit
b0621b48e6
@ -376,7 +376,7 @@ def add_css(filepath):
|
||||
|
||||
|
||||
def _read(path):
|
||||
with open(path, "r") as f:
|
||||
with open(path, "r", encoding="utf-8") as f:
|
||||
return f.read()
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user