1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-18 07:09:28 +08:00

Merge pull request #2066 from LmeSzinc/bug_fix

Bug fix
This commit is contained in:
LmeSzinc
2023-01-03 23:18:53 +08:00
committed by GitHub
7 changed files with 32 additions and 9 deletions

View File

@@ -54,6 +54,8 @@ def recv_all(stream, chunk_size=4096, recv_interval=0.000) -> bytes:
if isinstance(stream, _AdbStreamConnection):
stream = stream.conn
stream.settimeout(10)
else:
stream.settimeout(10)
try:
fragments = []