From 1697395e84e17e73def7d1d6cc7aa80f738c9c14 Mon Sep 17 00:00:00 2001 From: Craig Lamparter Date: Fri, 8 Jan 2021 11:02:57 -0800 Subject: [PATCH] add null reply for send_email --- aprsd/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aprsd/plugin.py b/aprsd/plugin.py index 9408bc3..b7f350b 100644 --- a/aprsd/plugin.py +++ b/aprsd/plugin.py @@ -510,6 +510,7 @@ class EmailPlugin(APRSDPluginBase): if not too_soon or ack == 0: LOG.info("Send email '{}'".format(content)) send_result = email.send_email(to_addr, content) + reply = messaging.NULL_MESSAGE if send_result != 0: reply = "-{} failed".format(to_addr) # messaging.send_message(fromcall, "-" + to_addr + " failed")