File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,9 @@ def __init__(
5050 version ,
5151 update_tasks ,
5252 download_queue_items ,
53- directory ,
53+ directory : tempfile . TemporaryDirectory ,
5454 mp ,
5555 project_info ,
56- download_tmp_dir : typing .Optional [tempfile .TemporaryDirectory ] = None ,
5756 ):
5857 self .project_path = project_path
5958 self .total_size = total_size # size of data to download (in bytes)
@@ -66,7 +65,6 @@ def __init__(
6665 self .is_cancelled = False
6766 self .project_info = project_info # parsed JSON with project info returned from the server
6867 self .failure_log_file = None # log file, copied from the project directory if download fails
69- self .download_tmp_dir = download_tmp_dir # temporary directory for downloads if specified
7068
7169 def dump (self ):
7270 print ("--- JOB ---" , self .total_size , "bytes" )
You can’t perform that action at this time.
0 commit comments