projecthorus / radiosonde_auto_rx

Automatically Track Radiosonde Launches using RTLSDR
GNU General Public License v3.0
474 stars 122 forks source link

Replace deprecated utcnow() with now() #867

Closed argilo closed 3 months ago

argilo commented 3 months ago

As of Python 3.12, datetime.utcnow() is deprecated, with the recommended replacement being datetime.now(timezone.utc). I made that replacement here. This was a simple search-and-replace, except in listener_nmea_crlf.py where I modified the code to be more like the other scripts. So far I haven't done much testing apart from firing up auto_rx.