nft-update-addresses: format code, extract ip_cmd variable

main
Felix Stupp 1 month ago
parent 05bdbaa3aa
commit b807649fab
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -859,7 +859,8 @@ def service_execution(args: argparse.Namespace, config: AppConfig) -> NoReturn:
burst_interval=0.1, burst_interval=0.1,
handler=if_updater, handler=if_updater,
) )
monitor_ip(shlex.split(args.ip_command), burst_handler) ip_cmd = shlex.split(args.ip_command)
monitor_ip(ip_cmd, burst_handler)
def setup_logging(args: Any) -> None: def setup_logging(args: Any) -> None:

Loading…
Cancel
Save