Skip to content

Commit bb53770

Browse files
committed
Fix the usage of MemorySessionStorage
1 parent 5facb7d commit bb53770

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rivescript/rivescript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __init__(self, debug=False, strict=True, depth=50, log=None,
112112

113113
# Initialize the session manager.
114114
if session_manager is None:
115-
session_manager = MemorySessionStorage(master=self)
115+
session_manager = MemorySessionStorage(warn=self._warn)
116116
self._session = session_manager
117117

118118
# Internal helpers.

0 commit comments

Comments
 (0)