clean_amount is now a class method
This commit is contained in:
parent
42494d050f
commit
7ee2d29792
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ class FrenchTransaction(Transaction):
|
||||||
"""
|
"""
|
||||||
PATTERNS = []
|
PATTERNS = []
|
||||||
|
|
||||||
def clean_amount(self, text):
|
@classmethod
|
||||||
|
def clean_amount(klass, text):
|
||||||
"""
|
"""
|
||||||
Clean a string containing an amount.
|
Clean a string containing an amount.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue