修改部分bug

This commit is contained in:
q434343
2026-01-28 14:43:52 +08:00
3 changed files with 5 additions and 5 deletions

View File

@@ -1652,10 +1652,10 @@ class PRCXI9300Api:
start = False
while not success:
status = self.step_state_list()
if len(status) == 1:
start = True
if status is None:
break
if len(status) == 1:
start = True
if len(status) == 0:
break
if status[-1]["State"] == 2 and start: