From 15d4bbe39d9e774b7ac3194ed4a1a9b7ee11bb65 Mon Sep 17 00:00:00 2001 From: dronov-dmitry Date: Sun, 5 Jan 2025 13:03:27 +0200 Subject: [PATCH] Update xmlns.py Fix error : ImportError: attempted relative import with no known parent package https://stackoverflow.com/questions/16981921/relative-imports-in-python-3 --- ezodf/xmlns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezodf/xmlns.py b/ezodf/xmlns.py index a4af9f8..7b50764 100644 --- a/ezodf/xmlns.py +++ b/ezodf/xmlns.py @@ -9,7 +9,7 @@ from lxml import etree -from .const import ALL_NSMAP +from ezodf.const import ALL_NSMAP def subelement(parent, tag, new=True): """ Find/create SubElement `tag` in parent node.