mirror of https://gitlab.com/litecord/litecord.git
rename state_man -> state_manager
This commit is contained in:
parent
75c79a6503
commit
ff05e278f6
|
|
@ -11,6 +11,7 @@ log = logging.getLogger(__name__)
|
||||||
|
|
||||||
class StateManager:
|
class StateManager:
|
||||||
"""Manager for gateway state information."""
|
"""Manager for gateway state information."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.states = defaultdict(dict)
|
self.states = defaultdict(dict)
|
||||||
|
|
||||||
2
run.py
2
run.py
|
|
@ -10,7 +10,7 @@ import config
|
||||||
from litecord.blueprints import gateway, auth
|
from litecord.blueprints import gateway, auth
|
||||||
from litecord.gateway import websocket_handler
|
from litecord.gateway import websocket_handler
|
||||||
from litecord.errors import LitecordError
|
from litecord.errors import LitecordError
|
||||||
from litecord.gateway.state_man import StateManager
|
from litecord.gateway.state_manager import StateManager
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue