Don't use logger.warn

This commit is contained in:
Milan Stute
2020-12-02 16:18:57 +01:00
parent d96fa1d7ef
commit d4f3df70e7
+1 -1
View File
@@ -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