From e83ee31310d2984321c67f1de3b74adb17dd09d9 Mon Sep 17 00:00:00 2001 From: Hemna <waboring@hemna.com> Date: Fri, 8 Jan 2021 10:56:21 -0500 Subject: [PATCH] Fixed failures caused by last commit This patch fixes test failures caused by last commit. --- ChangeLog | 2 ++ aprsd/plugin.py | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index a105123..0245cb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ CHANGES v1.5.0 ------ +* Fixed failures caused by last commit +* don't tell radio emails were sent, ack is enuf * Updated README to include development env * Added pre-commit hooks * Update Changelog for v1.5.0 diff --git a/aprsd/plugin.py b/aprsd/plugin.py index d7e5c2f..9408bc3 100644 --- a/aprsd/plugin.py +++ b/aprsd/plugin.py @@ -494,9 +494,7 @@ class EmailPlugin(APRSDPluginBase): return reply # send recipient link to aprs.fi map - mapme = False if content == "mapme": - mapme = True content = "Click for my location: http://aprs.fi/{}".format( self.config["ham"]["callsign"] ) @@ -525,11 +523,6 @@ class EmailPlugin(APRSDPluginBase): ) self.email_sent_dict.clear() self.email_sent_dict[ack] = now - #don't really need a response, ack is enough - #if mapme: - # reply = "mapme email sent" - #else: - # reply = "Email sent." else: LOG.info( "Email for message number "