From 21ed41071788c2b3ed820025a17f6e9c773af681 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 21 Nov 2017 18:41:18 +0000 Subject: [PATCH] Use the failure() call instead of send() --- threshold | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threshold b/threshold index 574b704..1a0142d 100755 --- a/threshold +++ b/threshold @@ -107,7 +107,7 @@ class Helper(object): if len(spl) > 0: cmd = spl[0] else: - send("No text was sent") + failure("No text was sent") return if authed == True: if cmd == "pass":