Mercurial > hg > egg-tcls
comparison weather.tcl @ 546:21aee5c2835c
weather: Adjust messages.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 08 Jul 2020 01:47:38 +0300 |
parents | 3b363fd0a60b |
children | 028ee7efd4ff |
comparison
equal
deleted
inserted
replaced
545:7d5d97dfc6ad | 546:21aee5c2835c |
---|---|
301 set weather_last [expr [clock seconds] - $weather_running] | 301 set weather_last [expr [clock seconds] - $weather_running] |
302 } else { | 302 } else { |
303 set weather_last -1 | 303 set weather_last -1 |
304 } | 304 } |
305 | 305 |
306 weather_log "Loading aliases." | 306 putlog " - Loading aliases." |
307 weather_load_aliases | 307 weather_load_aliases |
308 | 308 |
309 if {$weather_last < 0 || $weather_last > [expr $weather_check_period * 60]} { | 309 if {$weather_last < 0 || $weather_last > [expr $weather_check_period * 60]} { |
310 weather_log "Starting weather update timer." | 310 putlog " - Starting weather update timer." |
311 weather_exec | 311 weather_exec |
312 } else { | 312 } else { |
313 weather_log "Continuing weather updates." | 313 putlog " - Continuing weather updates." |
314 weather_update | 314 weather_update |
315 } | 315 } |
316 | 316 |
317 | 317 |
318 #------------------------------------------------------------------------- | 318 #------------------------------------------------------------------------- |