@@ -107,7 +107,7 @@ def verify_files(filename, destination, rename_to):
107
107
for i , zipped_file in enumerate (archive .namelist (), 1 ):
108
108
local_path = os .path .join (extracted_dir_path , zipped_file .replace (first_dir , rename_to , 1 ))
109
109
if not os .path .exists (local_path ):
110
- print (f' \n Missing { zipped_file } on location: { extracted_dir_path } ' )
110
+ print (f" \n Missing { zipped_file } on location: { extracted_dir_path } " )
111
111
print (f"Verification failed; aborted in { format_time (time .time () - t1 )} " )
112
112
return False
113
113
print_verification_progress (total_files , i , t1 )
@@ -122,7 +122,7 @@ def verify_files(filename, destination, rename_to):
122
122
for i , zipped_file in enumerate (archive .getnames (), 1 ):
123
123
local_path = os .path .join (extracted_dir_path , zipped_file .replace (first_dir , rename_to , 1 ))
124
124
if not os .path .exists (local_path ):
125
- print (f' \n Missing { zipped_file } on location: { extracted_dir_path } ' )
125
+ print (f" \n Missing { zipped_file } on location: { extracted_dir_path } " )
126
126
print (f"Verification failed; aborted in { format_time (time .time () - t1 )} " )
127
127
return False
128
128
print_verification_progress (total_files , i , t1 )
@@ -147,7 +147,7 @@ def verify_files(filename, destination, rename_to):
147
147
else :
148
148
raise NotImplementedError ("Unsupported archive type" )
149
149
150
- if ( verbose ) :
150
+ if verbose :
151
151
print (f"\n Verification passed; completed in { format_time (time .time () - t1 )} " )
152
152
153
153
return True
0 commit comments