From 27aa3c975fe8cbe4d9073a5e2391d17adff6c7a3 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 29 Dec 2013 16:26:48 -0500 Subject: [PATCH] Corrected reversed variable. --- conky-mythtv-weather-build.plx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conky-mythtv-weather-build.plx b/conky-mythtv-weather-build.plx index 052bdd3..b06347b 100755 --- a/conky-mythtv-weather-build.plx +++ b/conky-mythtv-weather-build.plx @@ -133,8 +133,8 @@ if (not defined $data{current}{observation_time}) { } } if (not defined $data{current}{observation_time_rfc822}) { - $data{current}{observation_time} = $data{current}{observation_time_rfc822}; - $data{current}{observation_time} =~ s/^\s*(?:Observation\s*of\s*:?|Last\s*Updated\s*(?:on)?)\s*//; + $data{current}{observation_time_rfc822} = $data{current}{observation_time}; + $data{current}{observation_time_rfc822} =~ s/^\s*(?:Observation\s*of\s*:?|Last\s*Updated\s*(?:on)?)\s*//; } my($temp, $feelsLike, $humidity, $windSpeed, $windGust, $icon, $datetime) = ($data{current}{temp}, $data{current}{heat_index},