This commit is contained in:
deadsmond 2019-11-24 22:41:40 +01:00
parent cf8393ebe0
commit af3915c683

View File

@ -21,7 +21,7 @@ class automata:
def test_string(self, text):
self.state = '0'
text = text.replace('\n', '')
text = text.replace('\n', '')
for i in text:
self.state = self.get_node_transition([self.state, i])
if self.state == None: