1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-17 22:01:49 -05:00

Fixed an issue with weather plugin

Weather plugin had an invalid call to rstrip()
This commit is contained in:
Hemna 2020-12-14 14:18:12 -05:00
parent e1edbe6c62
commit eba093b62a

View File

@ -340,8 +340,8 @@ class WeatherPlugin(APRSDPluginBase):
wx_data["data"]["weather"][0], wx_data["data"]["weather"][0],
wx_data["time"]["startPeriodName"][1], wx_data["time"]["startPeriodName"][1],
wx_data["data"]["weather"][1], wx_data["data"]["weather"][1],
).rstrip() )
) ).rstrip()
LOG.debug("reply: '{}' ".format(reply)) LOG.debug("reply: '{}' ".format(reply))
except Exception as e: except Exception as e:
LOG.debug("Weather failed with: " + "%s" % str(e)) LOG.debug("Weather failed with: " + "%s" % str(e))