Skip to content

Commit

Permalink
fix name error __substituteInLearn
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadfaizalbh committed Jun 19, 2016
1 parent a6aef79 commit 69052f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def respond(self, str,sessionID = "general"):
self.__processLearn(learn)
return resp

def __substituteInLearn(self,pair, match, parentMatch,sessionID = sessionID):
def __substituteInLearn(self,pair, match, parentMatch,sessionID = "general"):
#return tuple((self.__substituteInLearn(i, match, parentMatch) if type(i) in (tuple,list) else \
#({self._wildcards((topic,self._condition(topic)), match, parentMatch): \
#self.__substituteInLearn(i[topic], match, parentMatch) for topic in i} \
Expand Down

0 comments on commit 69052f7

Please sign in to comment.