Commits

Jason R. Coombs committed d8d7834

Fixed name of always_iterable

Comments (0)

Files changed (1)

jaraco/financial/ledger.py

 
 	def query(self, descriptor=None, amount=None):
 		for txn in self:
-			for designation in always_iterable(txn.designation):
+			dsgns = jaraco.util.itertools.always_iterable(txn.designation)
+			for designation in dsgns:
 				if descriptor and designation.descriptor != descriptor:
 					continue
 				if amount is not None and designation.amount != amount: