You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be wrong but I guess this one works better.
diff --git a/principalmap/querying.py b/principalmap/querying.py
index d5a9a20..2fcd74a 100644
--- a/principalmap/querying.py
+++ b/principalmap/querying.py
@@ -26,7 +26,7 @@ def perform_query(input_str, session, graph):
action = tokens[3]
if len(tokens) == 4:
result = test_for_node(session, graph, node, action)
- if result is None:
+ if result is not None:
print_search_result(result, action)
else:
print('Did not find a way for ' + str(node) + ' to do ' + action)
The text was updated successfully, but these errors were encountered:
I might be wrong but I guess this one works better.
The text was updated successfully, but these errors were encountered: