mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Remove class static variable
This commit is contained in:
parent
e7e7c58133
commit
3aec66bc0d
@ -9,11 +9,10 @@ class HandlerBackend:
|
||||
"""
|
||||
Class for saving (next step|reply) handlers
|
||||
"""
|
||||
handlers = {}
|
||||
|
||||
def __init__(self, handlers=None):
|
||||
if handlers:
|
||||
self.handlers = handlers
|
||||
if handlers is None:
|
||||
handlers = {}
|
||||
self.handlers = handlers
|
||||
|
||||
def register_handler(self, handler_group_id, handler):
|
||||
raise NotImplementedError()
|
||||
|
Loading…
x
Reference in New Issue
Block a user