From 12234bfb520ef7f2e2a14519f54111cd01d9f91b Mon Sep 17 00:00:00 2001 From: Christophe Benz Date: Wed, 14 Jul 2010 00:56:20 +0200 Subject: [PATCH] fix other properties setters in bank --- weboob/capabilities/bank.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weboob/capabilities/bank.py b/weboob/capabilities/bank.py index d7396d6b..e25c6014 100644 --- a/weboob/capabilities/bank.py +++ b/weboob/capabilities/bank.py @@ -18,7 +18,7 @@ import sys if sys.version_info[:2] <= (2, 5): - from weboob.tools import property + from weboob.tools.property import property from .cap import ICap @@ -73,7 +73,7 @@ class Operation(object): return self._label @label.setter - def label_set(self, value): + def label(self, value): self._label = str(value) @property @@ -81,7 +81,7 @@ class Operation(object): return self._amount @amount.setter - def amount_set(self, value): + def amount(self, value): self._amount = float(value)