From 2df1aa121a05eeb4c552cc1034cd0e4bcbc155d6 Mon Sep 17 00:00:00 2001 From: gjr80 Date: Fri, 3 Feb 2017 08:39:43 +1000 Subject: [PATCH] Changed config option names but never changed the code! --- bin/weeimport/weeimport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/weeimport/weeimport.py b/bin/weeimport/weeimport.py index 370df4e5..7ba2fdaa 100644 --- a/bin/weeimport/weeimport.py +++ b/bin/weeimport/weeimport.py @@ -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)