Removes duplicated sort_by_bank method
This commit is contained in:
parent
fe26bf8a6a
commit
311c5358f1
@ -54,11 +54,6 @@ class Transaction:
|
|||||||
repeated.append(t)
|
repeated.append(t)
|
||||||
return repeated
|
return repeated
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def sort_by_bank(transactions):
|
|
||||||
transactions.sort(key=lambda k: k.bank)
|
|
||||||
return transactions
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def category(self):
|
def category(self):
|
||||||
return self._category
|
return self._category
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user