Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roe-dl committed Nov 17, 2022
1 parent 043ccf2 commit 9616fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/user/GTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@
* property "length"
0.8b1 06nov2022
* docu
* bug fixes

0 comments on commit 9616fc2

Please sign in to comment.