From cebc631766bfe6e85054f3d6331486b7a3e9ff84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Henryk=20Pl=C3=B6tz?= Date: Mon, 9 Sep 2019 13:39:57 +0200 Subject: [PATCH] Logger.warn is deprecated, replace with .warning --- fints/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints/client.py b/fints/client.py index fd029c3..2183025 100644 --- a/fints/client.py +++ b/fints/client.py @@ -165,7 +165,7 @@ class FinTS3Client: raise TypeError("bank_identifier must be BankIdentifier or str (BLZ)") self.system_id = SYSTEM_ID_UNASSIGNED if not product_id: - logger.warn('You should register your program with the ZKA and pass your own product_id as a parameter.') + logger.warning('You should register your program with the ZKA and pass your own product_id as a parameter.') product_id = 'DC333D745719C4BD6A6F9DB6A' self.user_id = user_id -- 2.47.2