From a722aa7986545f2c3c18dcb3e62586faa5656c58 Mon Sep 17 00:00:00 2001 From: Gabriel Kerneis Date: Wed, 22 Feb 2012 14:32:28 +0100 Subject: [PATCH] [boursorama] Fix IDs of operations --- modules/boursorama/browser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/boursorama/browser.py b/modules/boursorama/browser.py index e8cab0f7..61380134 100644 --- a/modules/boursorama/browser.py +++ b/modules/boursorama/browser.py @@ -91,6 +91,8 @@ class Boursorama(BaseBrowser): target = date.today() - relativedelta( months = 2 ) self.location(account.link_id + ("&month=%d&year=%d" % (target.month, target.year))) operations += self.page.get_operations() + for index, op in enumerate(operations): + op.id = index return operations