1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

allow icon to be included in zim cat

This commit is contained in:
Tim Moody 2020-11-24 09:22:54 -05:00
parent edff5a5fa0
commit 8ae93cc8de

View file

@ -107,7 +107,7 @@ def rem_libr_xml(zim_id, kiwix_library_xml):
if e.returncode != 2: # skip bogus file open error in kiwix-manage
print(outp)
def add_libr_xml(kiwix_library_xml, zim_path, zimname, zimidx):
def add_libr_xml(kiwix_library_xml, zim_path, zimname, zimidx=None):
'''
Add a zim to library.xml