creatorrr / pyAIML

PyAIML -- The Python AIML Interpreter
166 stars 74 forks source link

a bug #14

Open WangLeto opened 6 years ago

WangLeto commented 6 years ago

In line 268 of Kernel.py:

def _deleteSession(self, sessionID):
    """Delete the specified session."""
    if sessionID in self._sessions:
        _sessions.pop(sessionID)

It's supposed to be self._sessions.pop(sessionID)