Update analyzer.py

This commit is contained in:
Richard Bronkhorst 2023-06-14 16:10:06 +02:00
parent 628791bf06
commit 0c1ec40090

View File

@ -56,4 +56,4 @@ class Analyzer:
if system is None: continue
dest.add(SearchNode(system, o))
if len(dest) == 0: return None
return self.find_path(dest, to, depth-1, s)
return self.find_path(dest, to, depth-1, seen)