some fixes

This commit is contained in:
2026-08-07 10:04:31 +02:00
parent 6dd541b798
commit c7e575ff9b
12 changed files with 65 additions and 14 deletions
+3 -2
View File
@@ -11,8 +11,9 @@ class FritzBoxError(Exception):
pass
def get_external_ip(host: str, port: int, user: str, password: str, retries: int = 3,
backoff_seconds=(2, 5, 10)) -> str:
def get_external_ip(
host: str, port: int, user: str, password: str, retries: int = 3, backoff_seconds=(2, 5, 10)
) -> str:
last_exc = None
for attempt in range(1, retries + 1):
try: