This commit is contained in:
deadsmond 2019-11-25 20:34:00 +01:00
parent d2f566641a
commit 5c8c2517e6

View File

@ -59,7 +59,7 @@ class automata:
# if the node exists # if the node exists
if self.graph[q]: if self.graph[q]:
# search through all its connections to find value # search through all its connections to find value
for transition in self.graph[q].items: for transition in self.graph[q]:
print(transition, i) print(transition, i)
try: try:
if transition[i]: if transition[i]: