Diff of /examples/family_relations/test.py [f16399] .. [f38638]  Maximize  Restore

Switch to side-by-side view

--- a/examples/family_relations/test.py
+++ b/examples/family_relations/test.py
@@ -46,7 +46,7 @@
 from pyke import knowledge_engine, krb_traceback, goal
 
 # Compile and load .krb files in same directory that I'm in (recursively).
-engine = knowledge_engine.engine('examples.family_relations')
+engine = knowledge_engine.engine(__file__)
 
 fc_goal = goal.compile('family.how_related($person1, $person2, $relationship)')
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks