mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 16:46:56 -04:00
Changed config option names but never changed the code!
This commit is contained in:
@@ -137,9 +137,9 @@ class Source(object):
|
||||
# when a sensor or observation does not exist. Record whether UV and/or
|
||||
# solar radiation sensor was present.
|
||||
# UV, default to True
|
||||
self.UV_sensor = tobool(import_config_dict.get('UV', True))
|
||||
self.UV_sensor = tobool(import_config_dict.get('UV_sensor', True))
|
||||
# solar, default to True
|
||||
self.solar_sensor = tobool(import_config_dict.get('radiation', True))
|
||||
self.solar_sensor = tobool(import_config_dict.get('solar_sensor', True))
|
||||
|
||||
# get some weeWX database info
|
||||
self.db_binding_wx = get_binding(config_dict)
|
||||
|
||||
Reference in New Issue
Block a user