mirror of https://github.com/nathom/streamrip.git
Fix typing
This commit is contained in:
parent
a09a586b7c
commit
ba0710b940
|
@ -5,7 +5,7 @@ import logging
|
|||
import os
|
||||
import re
|
||||
from tempfile import gettempdir
|
||||
from typing import Callable, Dict, Generator, Iterator, List, Optional
|
||||
from typing import Callable, Dict, Iterator, List, Optional
|
||||
|
||||
import aiofiles
|
||||
import aiohttp
|
||||
|
@ -151,7 +151,7 @@ class DownloadPool:
|
|||
|
||||
def __init__(
|
||||
self,
|
||||
urls: Generator,
|
||||
urls: Iterator,
|
||||
tempdir: str = None,
|
||||
chunk_callback: Optional[Callable] = None,
|
||||
):
|
||||
|
|
Loading…
Reference in New Issue