# HG changeset patch # User Matti Hamalainen # Date 1506600923 -10800 # Node ID fe671cd76ecc7c9ab3f40fbfc8ff8f5b1b90d530 # Parent 1f16d27c571dc11b35b481e8b44a3800133c2ff8 Oops, a typo. diff -r 1f16d27c571d -r fe671cd76ecc fetch_weather.pl --- 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);