Empty metadata should not assign an empty tag.

This commit is contained in:
MichaelFitzurka 2022-04-03 16:50:27 -04:00
parent 1b28623fe3
commit ada88d719f

View File

@ -67,7 +67,7 @@ class ComicInfoXml:
# helper func
def assign(cix_entry, md_entry):
if md_entry is not None:
if md_entry is not None and md_entry:
et_entry = root.find(cix_entry)
if et_entry is not None:
et_entry.text = str(md_entry)