Diff of /pyke/question_base.py [e6e990] .. [c237fe] Maximize Restore

  Switch to side-by-side view

--- a/pyke/question_base.py
+++ b/pyke/question_base.py
@@ -80,7 +80,8 @@
         self.knowledge_base = question_base
         self.user_question.set_question_base(question_base)
     def lookup(self, bindings, pat_context, patterns):
-        input_params = tuple((self.params[i], patterns[i].as_data(pat_context))
+        input_params = tuple((self.params[i],
+                                unicode(patterns[i].as_data(pat_context)))
                              for i in self.input_param_positions)
         format_params = dict(input_params)
         ans = self.cache.get(input_params, self.not_found)