From fff6511c289af6d72520b7d76b13159756dfc010 Mon Sep 17 00:00:00 2001 From: grindsa Date: Fri, 27 Dec 2024 18:19:20 +0100 Subject: [PATCH] [fix] unittests on old python versions --- dkb_robo/portfolio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dkb_robo/portfolio.py b/dkb_robo/portfolio.py index 6f63d95..f252ba2 100644 --- a/dkb_robo/portfolio.py +++ b/dkb_robo/portfolio.py @@ -278,7 +278,7 @@ def _details(self, card: Dict[str, str], cid: str) -> Dict[str, str]: 'status': card.get('attributes', {}).get('status', None), 'name': card.get('attributes', {}).get('product', {}).get('displayName', None), 'expirydate': card.get('attributes', {}).get('expiryDate', None), - 'holdername': f'{card.get('attributes', {}).get('holder', {}).get('person', {}).get('firstName', '')} {card.get('attributes', {}).get('holder', {}).get('person', {}).get('lastName', '')}' + 'holdername': f"{card.get('attributes', {}).get('holder', {}).get('person', {}).get('firstName', '')} {card.get('attributes', {}).get('holder', {}).get('person', {}).get('lastName', '')}" } if card['type'] == 'debitCard':