diff --git a/SEPTREFHUM.py b/SEPTREFHUM.py index 398c1217cc8ba7676f9260fba013dacd73288f17..c704d263843dc21a862fc440f6454b0c635081e1 100755 --- a/SEPTREFHUM.py +++ b/SEPTREFHUM.py @@ -90,8 +90,10 @@ local_timezone = pytz.timezone(os.getenv("LOCAL_TIMEZONE")) today = datetime.now(local_timezone) if len(sys.argv) > 1: year = int(sys.argv[1]) + logging.info(f"Run for year={year} from param") else: year = today.year + logging.info(f"Run for current year ({year})") weather_data_path = infile_path if year < today.year: