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