Skip to content

Commit

Permalink
[fix] unittests on old python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
grindsa committed Dec 27, 2024
1 parent 08a56ec commit fff6511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkb_robo/portfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit fff6511

Please sign in to comment.