Improved PyhtonEvaluator in order to use methods that need context
This commit is contained in:
@@ -50,7 +50,7 @@ class SheerkaHistoryManager(BaseService):
|
||||
super().__init__(sheerka)
|
||||
|
||||
def initialize(self):
|
||||
self.sheerka.bind_service_method(self, SheerkaHistoryManager.history)
|
||||
self.sheerka.bind_service_method(self.history)
|
||||
|
||||
def history(self, depth=10, start=0):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user