Fix commands with no arguments

This commit is contained in:
skullY
2019-11-15 23:15:07 -08:00
parent e8e98ca15a
commit fb260f29e1
+1 -1
View File
@@ -501,7 +501,7 @@ class MILC(object):
if argument not in self.arg_only:
# Find the argument's section
if argument in self.default_arguments[self._entrypoint.__name__]:
if self._entrypoint.__name__ in self.default_arguments and argument in self.default_arguments[self._entrypoint.__name__]:
argument_found = True
section = self._entrypoint.__name__
if argument in self.default_arguments['general']: