代码优化

This commit is contained in:
liujianjiang 2026-01-09 17:34:55 +08:00
parent 3d617f1d52
commit a3226f8e99
1 changed files with 2 additions and 1 deletions

View File

@ -143,6 +143,7 @@ class DealAllTask:
while True:
try:
result = self.async_execute_adb_command(pad_code, file_name, is_check=True)
self.logger.info(f"{pad_code};<UNK>{file_name};<UNK>{result}")
if result:
if isinstance(result, list):
return True
@ -151,7 +152,7 @@ class DealAllTask:
count += 1
time.sleep(30)
except Exception as e:
logger.info(f"{pad_code[0]}<UNK>; <UNK>: {e}")
self.logger.info(f"{pad_code[0]}<UNK>; <UNK>: {e}")
if count == times:
return False