Small fix
This commit is contained in:
parent
aad5c4f9f2
commit
1268c33830
@ -111,7 +111,7 @@ async def commands_register():
|
||||
|
||||
valid_locales = []
|
||||
files_locales = listdir(f'{configGet("locale", "locations")}')
|
||||
|
||||
|
||||
for entry in files_locales:
|
||||
if entry.endswith(".json"):
|
||||
valid_locales.append(".".join(entry.split(".")[:-1]))
|
||||
@ -131,7 +131,7 @@ async def commands_register():
|
||||
enabled = False
|
||||
|
||||
for module in config_commands[command]["modules"]:
|
||||
if config_modules[module] == module:
|
||||
if config_modules[module]["enabled"] is True:
|
||||
enabled = True
|
||||
|
||||
if enabled is False:
|
||||
|
Reference in New Issue
Block a user