1
0

fix: 完善

This commit is contained in:
david-ajax
2025-12-14 23:36:19 +08:00
parent 4f054ed2e5
commit ef5ef6bbca
6 changed files with 28 additions and 16 deletions

View File

@@ -21,10 +21,11 @@ class Procession:
else:
self.state = ProcessionState.RUNNING
try:
print(self.cursor)
self.current_atom = self.queue[self.cursor]
return 1 # 成功
except IndexError as e:
print(f"{e}")
#print(f"{e}")
self.state = ProcessionState.FINISHED
return 0