From a69a2423de9129959bf4fd0a7cab3b1eaf8d5baf Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 3 Feb 2019 22:50:45 -0300 Subject: [PATCH] run.py: fix other peace of mind things --- run.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/run.py b/run.py index 7210469..f9ffde2 100644 --- a/run.py +++ b/run.py @@ -218,18 +218,18 @@ async def init_app_db(app_): def init_app_managers(app_): """Initialize singleton classes.""" app_.loop = asyncio.get_event_loop() - app_.ratelimiter = RatelimitManager(app.config.get('_testing')) + app_.ratelimiter = RatelimitManager(app_.config.get('_testing')) app_.state_manager = StateManager() - app_.storage = Storage(app) - app_.user_storage = UserStorage(app.storage) + app_.storage = Storage(app_) + app_.user_storage = UserStorage(app_.storage) - app_.icons = IconManager(app) + app_.icons = IconManager(app_) - app_.dispatcher = EventDispatcher(app) + app_.dispatcher = EventDispatcher(app_) app_.presence = PresenceManager(app_) - app_.storage.presence = app.presence + app_.storage.presence = app_.presence async def api_index(app_):