From 6e86d36056e552a7158db6812a1d7854085eefcb Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Sun, 1 Jan 2017 00:54:19 +0800 Subject: [PATCH] Fix a bug --- commands/scheduler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/scheduler.py b/commands/scheduler.py index 95173368..ea18f00c 100644 --- a/commands/scheduler.py +++ b/commands/scheduler.py @@ -98,6 +98,7 @@ def cron_check(args_text, ctx_msg): def add_job(args_text, ctx_msg, internal=False): if args_text.strip() in ('', 'help', '-h', '--help') and not internal: _send_add_job_help_msg(ctx_msg, internal) + return args_text = args_text.lstrip() try: