Fix Command.run with no arguments
This commit is contained in:
parent
2136d00aa2
commit
b07cca023b
@ -501,6 +501,9 @@ class Command:
|
|||||||
dbgout = ["command called:", self.name]
|
dbgout = ["command called:", self.name]
|
||||||
if args:
|
if args:
|
||||||
dbgout.append(str(args))
|
dbgout.append(str(args))
|
||||||
|
elif args is None:
|
||||||
|
args = []
|
||||||
|
|
||||||
if count is not None:
|
if count is not None:
|
||||||
dbgout.append("(count={})".format(count))
|
dbgout.append("(count={})".format(count))
|
||||||
log.commands.debug(' '.join(dbgout))
|
log.commands.debug(' '.join(dbgout))
|
||||||
|
Loading…
Reference in New Issue
Block a user