fix parsing of market accounts and factorization of the Transaction class

This commit is contained in:
Romain Bignon 2014-10-28 15:37:49 +01:00
commit 2cf7acdf32
4 changed files with 59 additions and 27 deletions

View file

@ -53,6 +53,9 @@ class CmsoProBrowser(LoginBrowser):
@need_login
def get_history(self, account):
if account._history_url.startswith('javascript:'):
raise NotImplementedError()
# Query history for 6 last months
def format_date(d):
return datetime.date.strftime(d, '%d/%m/%Y')