Skip to content

Commit eaee219

Browse files
committed
fix linter error
1 parent 551a0ac commit eaee219

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cdm_client/cdm_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _update_status(self) -> None:
3939
)
4040
resp.raise_for_status()
4141

42-
def _download_files(self, files: list) -> None:
42+
def _download_files(self, files: dict[int, str]) -> None:
4343
for torrent_id, path in files.items():
4444
resp = requests.get(
4545
f"{self._config['server_host']}/api/client/download/{torrent_id}/",
@@ -51,7 +51,7 @@ def _download_files(self, files: list) -> None:
5151
self._transmission_adapter.add_torrent(resp.content, download_dir=path)
5252
self._logger.info("Downloading torrent: %s to %s", torrent_id, path)
5353

54-
def _execute_instructions(self, instructions: list) -> None:
54+
def _execute_instructions(self, instructions: list[dict]) -> None:
5555
for instruction in instructions:
5656
self._logger.info("Received instruction: %s", instruction)
5757
for action, params in instruction.items():

0 commit comments

Comments
 (0)