changeset 444:fe671cd76ecc

Oops, a typo.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 28 Sep 2017 15:15:23 +0300
parents 1f16d27c571d
children dbe9e233f564
files fetch_weather.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fetch_weather.pl	Tue Sep 26 12:38:24 2017 +0300
+++ b/fetch_weather.pl	Thu Sep 28 15:15:23 2017 +0300
@@ -385,7 +385,7 @@
 
       # Fetch or read the cache
       my $meta_str;
-      if ($fetch_meta || opt_chk_book("force_update"))
+      if ($fetch_meta || opt_chk_bool("force_update"))
       {
         my $uri = opt_get("tiehallinto_meta_url");
         print STDERR "Fetching Tiehallinto static meta data from $uri\n" if (opt_get_int("debug") > 1);