feat: use custom type to handle existing naive datetimes
This commit is contained in:
parent
e22abb383c
commit
39bdac1ecf
45 changed files with 210 additions and 84 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue