From 7e3a2a35d88cac314220cfdb146da038f0b13fed Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 2 Jan 2017 21:09:47 +0100 Subject: [PATCH] Postbank compatibility --- README.md | 7 +++++++ fints/message.py | 2 +- fints/segments/auth.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7971656..497a456 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,13 @@ Limitations * Only PIN/TAN authentication is supported, no signature cards * Only a number of reading operations are currently supported +Banks tested: + +* GLS Bank eG +* Triodos Bank +* BBBank eG +* Postbank + Usage ----- diff --git a/fints/message.py b/fints/message.py index 4e84286..b574ed9 100644 --- a/fints/message.py +++ b/fints/message.py @@ -179,7 +179,7 @@ class FinTSResponse: return self._find_segments(name, True) def _find_segments(self, name, one=False): - found = [] + found = [] if not one else '' for s in self.segments: spl = s.split(':', 1) if spl[0] == name: diff --git a/fints/segments/auth.py b/fints/segments/auth.py index 6cc366e..445f265 100644 --- a/fints/segments/auth.py +++ b/fints/segments/auth.py @@ -34,7 +34,7 @@ class HKVVB(FinTS3Segment): PRODUCT_NAME = 'pyfints' PRODUCT_VERSION = '0.1' - def __init__(self, segmentno, lang=LANG_EN): + def __init__(self, segmentno, lang=LANG_DE): data = [ 0, 0, lang, self.PRODUCT_NAME, self.PRODUCT_VERSION ] -- 2.47.2