diff --git a/biobricks/dvc_fetcher.py b/biobricks/dvc_fetcher.py index e567a4c..1dd750b 100644 --- a/biobricks/dvc_fetcher.py +++ b/biobricks/dvc_fetcher.py @@ -41,7 +41,7 @@ def download_exec(self, urls, paths, max_threads=4): signal.signal(signal.SIGINT, lambda signum, frame: signal_handler(signum, frame, self.interrupt_event)) with ThreadPoolExecutor(max_threads) as exec: exec_args = dict(zip(urls, paths)) - futures = {exec.submit(self.exec_task, url, path) for url, path in exec_args} + futures = {exec.submit(self.exec_task, url, path) for url, path in exec_args.items()} for future in as_completed(futures): try: data = future.result()