fix other properties setters in bank
This commit is contained in:
parent
94aadf7ccd
commit
12234bfb52
1 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
if sys.version_info[:2] <= (2, 5):
|
if sys.version_info[:2] <= (2, 5):
|
||||||
from weboob.tools import property
|
from weboob.tools.property import property
|
||||||
|
|
||||||
|
|
||||||
from .cap import ICap
|
from .cap import ICap
|
||||||
|
|
@ -73,7 +73,7 @@ class Operation(object):
|
||||||
return self._label
|
return self._label
|
||||||
|
|
||||||
@label.setter
|
@label.setter
|
||||||
def label_set(self, value):
|
def label(self, value):
|
||||||
self._label = str(value)
|
self._label = str(value)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
@ -81,7 +81,7 @@ class Operation(object):
|
||||||
return self._amount
|
return self._amount
|
||||||
|
|
||||||
@amount.setter
|
@amount.setter
|
||||||
def amount_set(self, value):
|
def amount(self, value):
|
||||||
self._amount = float(value)
|
self._amount = float(value)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue