Fix for newer aiounifi
This commit is contained in:
parent
b68c12b652
commit
95bc1528ec
4
main.py
4
main.py
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user