X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/8550d172b829f29b2fcd4723789fb2a5d9fff6eb..0ad20be3eadf8dbba51d95c9ca3bfc97825d44c6:/src/librarian/picture.py diff --git a/src/librarian/picture.py b/src/librarian/picture.py index 93d8cb9..3897d1a 100644 --- a/src/librarian/picture.py +++ b/src/librarian/picture.py @@ -230,7 +230,7 @@ class WLPicture(object): clip = self.get_sem_coords(k) self.frame = clip frm = Element("sem", {"type": "frame"}) - frm.append(k.iter("div").next()) + frm.append(next(k.iter("div"))) self.edoc.getroot().append(frm) k.getparent().remove(k) else: