Fix various typos

This commit is contained in:
a-kenji
2025-01-22 13:19:28 +01:00
parent 7308eb8dc7
commit ce148c23a5
5 changed files with 5 additions and 5 deletions

View File

@@ -272,7 +272,7 @@ API.register(open_file)
# seems direct 'key in dict' doesnt work here
if arg_name not in sig.parameters.keys(): # noqa: SIM118
msg = f"Argument {arg_name} not found in api method '{method_name}'. Avilable arguments: {list(sig.parameters.keys())}"
msg = f"Argument {arg_name} not found in api method '{method_name}'. Available arguments: {list(sig.parameters.keys())}"
raise ClanError(msg)
param = sig.parameters.get(arg_name)