From d4f3df70e7e22b6d9f59203839ad484beaf6af9a Mon Sep 17 00:00:00 2001 From: Milan Stute Date: Wed, 2 Dec 2020 15:55:24 +0100 Subject: [PATCH] Don't use logger.warn --- opendrop/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendrop/cli.py b/opendrop/cli.py index 967e7b5..f81bc4c 100644 --- a/opendrop/cli.py +++ b/opendrop/cli.py @@ -135,7 +135,7 @@ class AirDropCli: try: address = info.parsed_addresses()[0] # there should only be one address except IndexError: - logger.warn(f"Ignoring receiver with missing address {info}") + logger.warning(f"Ignoring receiver with missing address {info}") return id = info.name.split(".")[0] hostname = info.server