From 884be1aeb0236cfee8cbadc0692eb7b93ef75d6e Mon Sep 17 00:00:00 2001 From: David Baetge Date: Fri, 3 Nov 2023 23:33:42 +0100 Subject: [PATCH] Fixed bug introduced with GH-191 --- skins/weewx-wdc/includes/forecast-table.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/weewx-wdc/includes/forecast-table.inc b/skins/weewx-wdc/includes/forecast-table.inc index 766fad5..27c2095 100644 --- a/skins/weewx-wdc/includes/forecast-table.inc +++ b/skins/weewx-wdc/includes/forecast-table.inc @@ -775,7 +775,7 @@
$gettext("Forecast") #if $wloc is not None and $wloc != '' - #set $wloc_list = $wloc.split(',') + #set $wloc_list = $wloc.replace("geocode=", "").split(',') #set $format_string = "{0:.3f}" for $format_string.format($float($wloc_list[0])), $format_string.format($float($wloc_list[1])) #end if