1
0
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:
YoursFunny 2023-11-12 00:10:43 +08:00
parent 1b83b7077f
commit b0621b48e6
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -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()