From 025db00339c0c67a1eb22f7dfdd37ee9b7d7d233 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Fri, 26 Aug 2022 22:59:26 -0700 Subject: [PATCH] typehint as bytes --- src/ytdl_sub/utils/xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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