Fix for newer aiounifi
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
IamTheFij 2024-09-19 15:58:13 -07:00
parent b68c12b652
commit 95bc1528ec

View File

@ -62,10 +62,6 @@ async def main():
return return
try: try:
await controller.initialize()
print("Initialized!!")
await controller.traffic_routes.update() await controller.traffic_routes.update()
for item in controller.traffic_routes.values(): for item in controller.traffic_routes.values():
if item.domains and item.matching_target == MatchingTarget.IP: if item.domains and item.matching_target == MatchingTarget.IP: