Fix mainname bug
This commit is contained in:
parent
ef8723d246
commit
ce07baa901
@ -216,7 +216,7 @@ class CommandParser(QObject):
|
|||||||
except ArgumentCountError:
|
except ArgumentCountError:
|
||||||
if ignore_exc:
|
if ignore_exc:
|
||||||
self.error.emit("{}: invalid argument count".format(
|
self.error.emit("{}: invalid argument count".format(
|
||||||
self._cmd.mainname))
|
self._cmd.name))
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
Loading…
Reference in New Issue
Block a user