Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gjr80 committed Feb 26, 2017
1 parent 8ebefa0 commit 40edd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/user/rtgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ def new_archive_record(self, record):
self.lost_contact_flag = record[STATION_LOST_CONTACT[self.station_type]['field']] == STATION_LOST_CONTACT[self.station_type]['value']
# save the windSpeed value to use as our archive period average
if 'windSpeed' in record:
self.windSpeedAvg_vt = weewx.units.as_value_tuple(_rec, 'windSpeed')
self.windSpeedAvg_vt = weewx.units.as_value_tuple(record, 'windSpeed')
else:
self.windSpeedAvg_vt = ValueTuple(None, 'km_per_hour', 'group_speed')
# save the windDir value to use as our archive period average
Expand Down

0 comments on commit 40edd78

Please sign in to comment.