From 08434a703eaa697ab0d4bde1a13b788a06f9c6ca Mon Sep 17 00:00:00 2001 From: MichaelFitzurka Date: Fri, 22 Apr 2022 09:48:47 -0400 Subject: [PATCH] Remove empty versus clearing. --- comicapi/comicinfoxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comicapi/comicinfoxml.py b/comicapi/comicinfoxml.py index 0bbb893..18785ea 100644 --- a/comicapi/comicinfoxml.py +++ b/comicapi/comicinfoxml.py @@ -79,7 +79,7 @@ class ComicInfoXml: else: et_entry = root.find(cix_entry) if et_entry is not None: - et_entry.clear() + root.remove(et_entry) assign("Title", md.title) assign("Series", md.series)