Island: Replace deprecated logging.warn() with logging.warning()

This commit is contained in:
Mike Salvatore 2021-12-16 14:38:54 -05:00
parent dc3adc9d8b
commit 8e0efb1993
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def _update_config_from_file(config: IslandConfigOptions, config_path: Path):
config.update(config_from_file)
logger.info(f"Server config updated from {config_path}")
except OSError:
logger.warn(f"Server config not found in path {config_path}")
logger.warning(f"Server config not found in path {config_path}")
def _load_server_config_from_file(server_config_path) -> dict: