diff options
| author | 2020-01-26 02:00:43 +0000 | |
|---|---|---|
| committer | 2020-01-26 02:00:43 +0000 | |
| commit | c3bb46ad23ab40510572ff3cdf12929e19b52de9 (patch) | |
| tree | 46d97f65547e34c8b164449c39e492f0b3c04d82 /src | |
| parent | show topic timestamp in a more human readable format (diff) | |
| signature | ||
only show "not enough arguments" n>len(args)
Diffstat (limited to 'src')
| -rw-r--r-- | src/core_modules/command_spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/command_spec.py b/src/core_modules/command_spec.py index 340f6fee..da3691c6 100644 --- a/src/core_modules/command_spec.py +++ b/src/core_modules/command_spec.py @@ -117,7 +117,7 @@ class Module(ModuleManager.BaseModule): value = [argument_type.type, value] found = value break - elif not error and n > 0: + elif not error and n > len(args): error = "Not enough arguments" if error and not first_error: |
