Forgot a return

This commit is contained in:
Jacob Henry 2018-10-09 18:51:28 -04:00
parent a888d365f9
commit 45fde3c6f0
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def nag_callback(slack, msg, match):
# If no jobs found, somethings up. Probably mispelled day. # If no jobs found, somethings up. Probably mispelled day.
if not jobs: if not jobs:
slack_util.reply(slack, msg, "No jobs found. Check that the day is spelled correctly, with no extra symbols", in_thread=True) slack_util.reply(slack, msg, "No jobs found. Check that the day is spelled correctly, with no extra symbols", in_thread=True)
return
# Nag each # Nag each
response = "Do yer jerbs! They are as follows:\n" response = "Do yer jerbs! They are as follows:\n"