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)