mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 18:49:26 +08:00
Fixes black failures from Previous PR (#1751)
* Fixes black failures from Previous PR * Fixes equality testing alert * Fixes call to main() alert * Fixes unused import
This commit is contained in:
@ -47,7 +47,7 @@ class Automaton:
|
||||
q.append(child)
|
||||
state = self.adlist[r]["fail_state"]
|
||||
while (
|
||||
self.find_next_state(state, self.adlist[child]["value"]) == None
|
||||
self.find_next_state(state, self.adlist[child]["value"]) is None
|
||||
and state != 0
|
||||
):
|
||||
state = self.adlist[state]["fail_state"]
|
||||
|
Reference in New Issue
Block a user