1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-13 11:27:01 +08:00

[fpy] Fix: PEP540 & SpecialDrop & interval regex (#4645)

This commit is contained in:
hgjazhgj
2025-03-06 01:40:25 +09:00
committed by GitHub
parent 9c3bfc7e8d
commit 50ad05030f
8 changed files with 10 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ class HeadlessCliApplication:
"""Wrap a cli application to provide programmable interactive access"""
def __init__(self, launch):
self.pipe = Popen([launch], stdin=PIPE, stdout=PIPE, stderr=STDOUT, text=True)
self.pipe = Popen([launch], stdin=PIPE, stdout=PIPE, stderr=STDOUT, encoding="utf-8", text=True)
def f():
while True: