From eba093b62a7d100fe0f88850c9e9b3b6f50d3a2e Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 14 Dec 2020 14:18:12 -0500 Subject: [PATCH] Fixed an issue with weather plugin Weather plugin had an invalid call to rstrip() --- aprsd/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aprsd/plugin.py b/aprsd/plugin.py index 1a480c8..03f47bb 100644 --- a/aprsd/plugin.py +++ b/aprsd/plugin.py @@ -340,8 +340,8 @@ class WeatherPlugin(APRSDPluginBase): wx_data["data"]["weather"][0], wx_data["time"]["startPeriodName"][1], wx_data["data"]["weather"][1], - ).rstrip() - ) + ) + ).rstrip() LOG.debug("reply: '{}' ".format(reply)) except Exception as e: LOG.debug("Weather failed with: " + "%s" % str(e))