diff weather_server/logfile.py @ 39:b77c8e7d2742

Use zoneinfo rather than pytz.
author Paul Fisher <paul@pfish.zone>
date Tue, 01 Apr 2025 15:54:21 -0400
parents 9bc3687e1e5e
children
line wrap: on
line diff
--- a/weather_server/logfile.py	Tue Apr 01 15:46:16 2025 -0400
+++ b/weather_server/logfile.py	Tue Apr 01 15:54:21 2025 -0400
@@ -1,7 +1,6 @@
 """The part which handles writing things out and reading things in from CSV.
 """
 
-import attr
 import collections
 import concurrent.futures as futures
 import contextlib
@@ -11,11 +10,11 @@
 import threading
 import typing as t
 
+import attr
 import bson
 
 from . import common
 
-
 # The number of entries to keep in memory without reading from disk.
 CACHED_ENTRIES = 16384