mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-04-28 11:53:08 -07:00
fix(cli): remove stdout and stderr reconfiguration for UTF-8 encoding on Windows
This commit is contained in:
@@ -4,10 +4,6 @@ import os
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
os.environ.setdefault("PYTHONUTF8", "1")
|
||||
try:
|
||||
sys.stdout.reconfigure(encoding="utf-8")
|
||||
sys.stderr.reconfigure(encoding="utf-8")
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
__all__ = ["run_cli"]
|
||||
|
||||
Reference in New Issue
Block a user