1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-04-10 05:28:58 -04:00

backout my patch that broke tox, trying to push to craiger-test branch

This commit is contained in:
Craig Lamparter 2021-01-08 09:24:51 -08:00
parent 99c5867162
commit 96c8422990

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 "