When destination has the attribute name but the name is not in the graph the find route will return None without giving a warning. By removing the else statement the function will continue when the destination has the attribute name but the name is not in the graph. This fixes the bug
When destination has the attribute name but the name is not in the graph the find route will return
None
without giving a warning. By removing the else statement the function will continue when the destination has the attribute name but the name is not in the graph. This fixes the bug