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
|
Class for saving (next step|reply) handlers
|
||||||
"""
|
"""
|
||||||
handlers = {}
|
|
||||||
|
|
||||||
def __init__(self, handlers=None):
|
def __init__(self, handlers=None):
|
||||||
if handlers:
|
if handlers is None:
|
||||||
self.handlers = handlers
|
handlers = {}
|
||||||
|
self.handlers = handlers
|
||||||
|
|
||||||
def register_handler(self, handler_group_id, handler):
|
def register_handler(self, handler_group_id, handler):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user