On Friday, 29 March 2019 08:56:27 UTC+10, [email protected] wrote:
>
> Ok. I made multiple errors and the try/catch was swallowing them. I still 
> don't know if I found and fixed them all, but I think I did.
>
> Mistake #1
> I need to add datetime import into the engine python code
>
>
Just remember if you make a change to engine.py then you are opening 
yourself up to having your changes overwritten when upgrading. You can 
always pickup the date-time requirements with a couple of lines of in-line 
python in a template. Also remmeber the zen 
<https://www.python.org/dev/peps/pep-0020/#id3>:

Simple is better than complex.
Complex is better than complicated.


I'm guessing your are bordering on the complicated

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to