Update analyzer.py
This commit is contained in:
parent
f079403535
commit
3196b80e2a
@ -42,6 +42,7 @@ class Analyzer:
|
||||
if depth < 1: return None
|
||||
if type(orig) == System:
|
||||
orig = set([SearchNode(orig,None)])
|
||||
print(orig)
|
||||
result = [n for n in orig if n.system==to]
|
||||
if len(result) > 0:
|
||||
return result[0].path()
|
||||
|
Loading…
Reference in New Issue
Block a user