Fixed failures caused by last commit

This patch fixes test failures caused by last commit.
This commit is contained in:
Hemna 2021-01-08 10:56:21 -05:00
parent 99c5867162
commit e83ee31310
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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 "