mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
encoding
This commit is contained in:
parent
7d74fca176
commit
0f25577411
@ -178,6 +178,7 @@ class Lockedfile:
|
|||||||
file = open(
|
file = open(
|
||||||
f"logs/{time.strftime('%Y-%m-%d-%H-%M-%S', time.localtime())}.txt",
|
f"logs/{time.strftime('%Y-%m-%d-%H-%M-%S', time.localtime())}.txt",
|
||||||
"w",
|
"w",
|
||||||
|
encoding="utf8",
|
||||||
errors="ignore",
|
errors="ignore",
|
||||||
)
|
)
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user