Skip to content

Commit

Permalink
card type support for card property
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalboa committed Feb 6, 2020
1 parent 70d2181 commit 1c326ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monobankua/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def currency(self):

@property
def card(self):
return f'{self.currency.name} {self.maskedPan[0]}'
return f'{self.currency.name} {self.maskedPan[0]} {self.type}'

def __str__(self):
return f'{self.balance // 100:g} {self.currency.symbol}'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def find_requires():

setuptools.setup(
name='monobankua',
version='0.3.3',
version='0.3.4',
author='Sergey Shlyapugin',
author_email='shlyapugin@gmail.com',
description='Monobank.ua API client',
Expand Down

0 comments on commit 1c326ae

Please sign in to comment.