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]
|
||||
if args:
|
||||
dbgout.append(str(args))
|
||||
elif args is None:
|
||||
args = []
|
||||
|
||||
if count is not None:
|
||||
dbgout.append("(count={})".format(count))
|
||||
log.commands.debug(' '.join(dbgout))
|
||||
|
Loading…
Reference in New Issue
Block a user