mirror of
https://github.com/skoelle/dyndns-updater.git
synced 2026-09-17 16:10:25 +00:00
some fixes
This commit is contained in:
+3
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user