From 8a5c6a36a17260f4dbe5cfe4d29bfcbebcf8e713 Mon Sep 17 00:00:00 2001 From: Louis Chauvet Date: Sat, 4 Jul 2020 11:13:51 +0200 Subject: [PATCH] [config] Change config path --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 85f8cb9..045ab05 100644 --- a/__init__.py +++ b/__init__.py @@ -14,7 +14,7 @@ class BaseModule: self.infos = toml.load(f) self.name = self.infos["name"] self.client = client - self.config = self.client.get_config(path=os.path.join(client.config["data_folder"], self.name.lower(), "config.toml")) + self.config = self.client.get_config(path=os.path.join(self.name.lower(), "config.toml")) async def _run_event(self, coro, event_name, *args, **kwargs): try: