fix: parameter validation function cant print arrays
This commit is contained in:
committed by
Julian Murgia
parent
e236784534
commit
4fbe3527e8
@@ -68,9 +68,7 @@ func validate(command: String, arguments: Array) -> bool:
|
||||
escoria.logger.report_errors(
|
||||
"Invalid command arguments for command %s" % command,
|
||||
[
|
||||
"Arguments didn't match minimum size %d: %s" %
|
||||
self.min_args,
|
||||
arguments
|
||||
"Arguments didn't match minimum size {num}: {args}".format({"num":self.min_args,"args":arguments})
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user