]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Logger.warn is deprecated, replace with .warning
authorHenryk Plötz <henryk@ploetzli.ch>
Mon, 9 Sep 2019 11:39:57 +0000 (13:39 +0200)
committerHenryk Plötz <henryk@ploetzli.ch>
Mon, 9 Sep 2019 11:39:57 +0000 (13:39 +0200)
fints/client.py

index fd029c3e101ccd6240b5a0b35506161e3acae57f..2183025901d94ea1256bac7aa2704ad30c32e814 100644 (file)
@@ -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