From ff66c21f6345dfa7fa260684891a65d671920220 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 20 Jan 2018 21:26:35 +0000 Subject: [PATCH] Use the correct warning call --- threshold | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/threshold b/threshold index c38d8fb..f93351e 100755 --- a/threshold +++ b/threshold @@ -375,7 +375,7 @@ class Helper(object): if config["Master"][0] in IRCPool.keys(): IRCPool[config["Master"][0]].msg(config["Master"][1], data) else: - warning("Master with no IRC instance defined") + warn("Master with no IRC instance defined") for i in MonitorPool: connections[i].send(data) @@ -483,7 +483,7 @@ class Helper(object): if addr in connections.keys(): obj = connections[addr] else: - warning("Got connection object with no instance in the address pool") + warn("Got connection object with no instance in the address pool") return success = lambda data: sendSuccess(addr, data)