feat: use custom type to handle existing naive datetimes

This commit is contained in:
Iain Learmonth 2024-12-06 18:02:59 +00:00
parent e22abb383c
commit 39bdac1ecf
45 changed files with 210 additions and 84 deletions

View file

@ -235,6 +235,7 @@ class ProxyMetaAutomation(BaseAutomation):
"""
pools = Pool.query.all()
for pool in pools:
logging.debug(pool.added < datetime.now(tz=timezone.utc))
if pool.id == -1:
continue # Skip hotspare pool
logging.debug("Missing proxy check for %s", pool.pool_name)