aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core_modules/command_spec.py2
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: