Closed sdlj2008 closed 1 year ago
For this example: d.getRuleID()
It can not get the last rule ID because the following code does not contain the index of last rule:
if len(argv) == 0: index = list(range(1, self.getRuleCount()))
The correct code should be as follows:
if len(argv) == 0: index = list(range(1, self.getRuleCount() + 1))
For this example: d.getRuleID()
It can not get the last rule ID because the following code does not contain the index of last rule:
The correct code should be as follows: