Re: [weewx-development] os_uptime incorrect on 4.0.0/python3.7 on macos

2020-05-11 Thread Tom Keffer
Exactly. A PR from someone is welcome. -tk On Mon, May 11, 2020 at 5:24 AM Greg Troxel wrote: > Tom Keffer writes: > > > If we can't find a way around this, we're just going to have to disable > the > > Mac system uptime tag. > > Perhaps initialize uptime, before any code is run, to None to me

Re: [weewx-development] os_uptime incorrect on 4.0.0/python3.7 on macos

2020-05-11 Thread Greg Troxel
Tom Keffer writes: > If we can't find a way around this, we're just going to have to disable the > Mac system uptime tag. Perhaps initialize uptime, before any code is run, to None to mean "we don't know", and then just omit reading/using it when None, which could handle systems that can't get u