From b688bfe2fc1c8a76e02f2ca53c708bbf22a63ebc Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Fri, 11 Mar 2016 08:04:36 -0800 Subject: [PATCH] Fixed problem that prevented the 'localize' option from working for ValueHelpers. --- bin/weewx/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/weewx/units.py b/bin/weewx/units.py index d731f8d9..3ce31aab 100644 --- a/bin/weewx/units.py +++ b/bin/weewx/units.py @@ -874,7 +874,7 @@ class ValueHelper(object): # Then do the format conversion: s = self.formatter.toString(vtx, self.context, addLabel=addLabel, useThisFormat=useThisFormat, NONE_string=NONE_string, - localize=True) + localize=localize) return s def __str__(self):