Skip to content

Commit

Permalink
fix: parameter validation function cant print arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Balloonpopper authored and StraToN committed Mar 3, 2022
1 parent e236784 commit 4fbe352
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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})
]
)

Expand Down

0 comments on commit 4fbe352

Please sign in to comment.