mirror of
https://github.com/seemoo-lab/opendrop.git
synced 2026-09-14 15:16:11 -04:00
Don't use logger.warn
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user