From 9eb42b48e4cc6433c859aa9395b390089aa53aa9 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 26 Aug 2015 12:14:33 +0200 Subject: [PATCH] fix the type of field Transaction.investments --- weboob/capabilities/bank.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/capabilities/bank.py b/weboob/capabilities/bank.py index 8f674802..234274f8 100644 --- a/weboob/capabilities/bank.py +++ b/weboob/capabilities/bank.py @@ -144,7 +144,7 @@ class Transaction(BaseObject): country = StringField('Country of transaction') # Financial arbitrations - investments = Field('List of investments related to the transaction', default=[]) + investments = Field('List of investments related to the transaction', list, default=[]) def __repr__(self): return "" % (self.date, self.label, self.amount)