diff --git a/syng/client.py b/syng/client.py index 604a1d3..7625fda 100644 --- a/syng/client.py +++ b/syng/client.py @@ -410,7 +410,7 @@ async def handle_request_config(data: dict[str, Any]) -> None: updated_config = await sources[data["source"]].update_config() if isinstance(updated_config, list): - num_chunks: int = len(updated_config) + num_chunks = len(updated_config) for current, chunk in enumerate(updated_config): await sio.emit( "config-chunk", diff --git a/syng/sources/s3.py b/syng/sources/s3.py index 89c5069..b3be9bd 100644 --- a/syng/sources/s3.py +++ b/syng/sources/s3.py @@ -5,7 +5,6 @@ Adds it to the ``available_sources`` with the name ``s3`` """ import asyncio -from itertools import zip_longest import os from json import dump, load from typing import TYPE_CHECKING, Any, Optional, Tuple, cast