fix(PTC-W0034):
This commit is contained in:
parent
533ca6e3e7
commit
bef9060b78
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ def additional_config(instance: str, cogs: str = "**"):
|
|||
console.print(Rule(f"\nConfiguration for `{cog_name}` module"))
|
||||
mod = importlib.import_module(str(path).replace("/", ".")[:-3])
|
||||
mod_config_type = getattr(mod, cog_name.capitalize() + "Config")
|
||||
mod_extra = getattr(mod, "extra")
|
||||
mod_extra = mod.extra
|
||||
|
||||
mod_config = config.ConfigFile(
|
||||
str(cogs_data_path(instance, cog_name) / "config.yaml"),
|
||||
|
|
Loading…
Reference in a new issue