diff --git a/src/core/commands.py b/src/core/commands.py index d59829b9..84fea78c 100644 --- a/src/core/commands.py +++ b/src/core/commands.py @@ -682,7 +682,7 @@ def command_toggle(self, args): return self.command_help('toggle') if args[0]: - self.command_set('%s toggle' % arg[0]) + self.command_set('%s toggle' % args[0]) @command_args_parser.quoted(1, 1) def command_server_cycle(self, args):