changeset 397:799320c3386e

Change "Station ID #" not defined?" to a debug message.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Jan 2017 23:16:46 +0200
parents dbf1d58915f8
children 6419327df9e7
files fetch_weather.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fetch_weather.pl	Thu Jan 05 23:15:54 2017 +0200
+++ b/fetch_weather.pl	Thu Jan 05 23:16:46 2017 +0200
@@ -389,7 +389,7 @@
           }
           else
           {
-            print STDERR "Station ID #".$wid." not defined?\n";
+            print STDERR "Station ID #".$wid." not defined?\n" if (opt_get_int("debug") > 0);
           }
         }
         print STDERR $nrecords." records from Tiehallinto.\n" if (opt_get_int("debug") > 0);