From 9616fc2c5539a68a85308f1b65e1815c78d26885 Mon Sep 17 00:00:00 2001 From: roe-dl Date: Thu, 17 Nov 2022 20:06:48 +0100 Subject: [PATCH] bug fix --- bin/user/GTS.py | 2 +- changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/user/GTS.py b/bin/user/GTS.py index 230ad99..3546f85 100644 --- a/bin/user/GTS.py +++ b/bin/user/GTS.py @@ -1059,7 +1059,7 @@ def get_aggregate(self, obs_type, timespan, aggregate_type, db_manager, **option # aggregation types that are defined for those values if aggregate_type not in ['avg','max','min','last','maxtime','mintime','lasttime']: - raise weewx.UnknownAggregation("%s undefinded aggregation %s" % (obs_type,aggregation_type)) + raise weewx.UnknownAggregation("%s undefinded aggregation %s" % (obs_type,aggregate_type)) if timespan is None: raise weewx.CannotCalculate("%s %s no timespan" % (obs_type,aggregate_type)) diff --git a/changelog b/changelog index f791027..96a2901 100644 --- a/changelog +++ b/changelog @@ -61,3 +61,4 @@ * property "length" 0.8b1 06nov2022 * docu +* bug fixes