plugin list of interest: fixed wrong variable used in a log

This commit is contained in:
Goffi 2020-05-18 23:31:55 +02:00
commit a693f9f53e

View file

@ -232,7 +232,7 @@ class ListInterest(object):
interest_elt = next(item.elements(NS_LIST_INTEREST, "interest"))
except StopIteration:
log.warning(_("Missing interest element: {xml}").format(
xml=interest_elt.toXml()))
xml=item.toXml()))
continue
if interest_elt.getAttribute("namespace") == namespace:
filtered_items.append(item)