import fix

This commit is contained in:
Oleskii Pyskun
2024-06-29 16:52:30 +03:00
parent cc2db78052
commit 7ca3bfce14
+2 -2
View File
@@ -1,8 +1,8 @@
from __future__ import annotations
import io
import json
import zipfile
from io import BytesIO
from typing import Union
import xmltodict
@@ -109,7 +109,7 @@ class ComicInfo:
return info
def pack(self) -> bytes:
zip_buffer = io.BytesIO()
zip_buffer = BytesIO()
with zipfile.ZipFile(zip_buffer, 'w', zipfile.ZIP_STORED) as zip_file:
zip_file.writestr(
xml_name,