mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Fixed for typing
This commit is contained in:
parent
49d149b8ac
commit
3dc59181b0
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class Downloader(Configs):
|
|||
else:
|
||||
self.normal_download(sources)
|
||||
|
||||
def parallel_download(self, sources):
|
||||
def parallel_download(self, sources: dict) -> None:
|
||||
""" Download sources with parallel mode. """
|
||||
processes: list = []
|
||||
for urls, path in sources.values():
|
||||
|
@ -50,7 +50,7 @@ class Downloader(Configs):
|
|||
for process in processes:
|
||||
process.join()
|
||||
|
||||
def normal_download(self, sources):
|
||||
def normal_download(self, sources: dict) -> None:
|
||||
""" Download sources with normal mode. """
|
||||
for urls, path in sources.values():
|
||||
for url in urls:
|
||||
|
|
Loading…
Reference in a new issue