diff --git a/src/ytdl_sub/utils/xml.py b/src/ytdl_sub/utils/xml.py index 5ae0f5dc..2eddd3e8 100644 --- a/src/ytdl_sub/utils/xml.py +++ b/src/ytdl_sub/utils/xml.py @@ -38,7 +38,7 @@ def to_max_3_byte_utf8_dict(string_dict: Dict[str, str]) -> Dict[str, str]: } -def to_xml(nfo_dict: Dict[str, str], nfo_root: str) -> str: +def to_xml(nfo_dict: Dict[str, str], nfo_root: str) -> bytes: """ Transforms a dict to XML