We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baff27e commit 9569e15Copy full SHA for 9569e15
bot.py
@@ -60,7 +60,7 @@ def __init__(self, args):
60
61
if len(args):
62
self.config = ConfigManager(self, args[0])
63
- else:
+ else:
64
self.config = ConfigManager(self)
65
self.config.populate_cache()
66
core/config.py
@@ -134,7 +134,7 @@ class ConfigManager:
134
defaults = {**public_keys, **private_keys, **protected_keys}
135
all_keys = set(defaults.keys())
136
137
- def __init__(self, bot, config_path = os.path.dirname(os.path.abspath(__file__))):
+ def __init__(self, bot, config_path=os.path.dirname(os.path.abspath(__file__))):
138
self.bot = bot
139
self._cache = {}
140
self.ready_event = asyncio.Event()
0 commit comments