We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 018a1fa + 23da5ce commit 7453f06Copy full SHA for 7453f06
src/zimscraperlib/zim/creator.py
@@ -237,7 +237,7 @@ def add_item_for(
237
path: str,
238
title: Optional[str] = None,
239
fpath: Optional[pathlib.Path] = None,
240
- content: Optional[bytes] = None,
+ content: Optional[Union[bytes, str]] = None,
241
mimetype: Optional[str] = None,
242
is_front: Optional[bool] = None,
243
should_compress: Optional[bool] = None,
0 commit comments