This commit is contained in:
恍兮惚兮 2024-12-28 21:04:14 +08:00
parent c1221f7621
commit e5621ed77b

View File

@ -44,7 +44,6 @@ class TS(basetrans):
return True return True
def translate(self, content): def translate(self, content):
self.checkpath()
l = content.encode("utf-16-le") l = content.encode("utf-16-le")
windows.WriteFile(self.hPipe, bytes(ctypes.c_int(len(l)))) windows.WriteFile(self.hPipe, bytes(ctypes.c_int(len(l))))