Bump infinity to v0.5.0-dev5 (#3520)

### What problem does this PR solve?

Bump infinity to v0.5.0-dev5

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2024-11-25 11:53:58 +08:00
committed by GitHub
parent e5af18d5ea
commit 08ead81dde
12 changed files with 367 additions and 327 deletions

View File

@ -63,9 +63,10 @@ CONFIGS = read_config()
def show_configs():
logging.info(f"Current configs, from {conf_realpath(SERVICE_CONF)}:")
msg = f"Current configs, from {conf_realpath(SERVICE_CONF)}:"
for k, v in CONFIGS.items():
logging.info(f"{k}: {v}")
msg += f"\n\t{k}: {v}"
logging.info(msg)
def get_base_config(key, default=None):
@ -253,7 +254,7 @@ def get_lan_ip():
try:
ip = get_interface_ip(ifname)
break
except IOError as e:
except IOError:
pass
return ip or ''