@@ -107,7 +107,7 @@ def verify_files(filename, destination, rename_to):
107107 for i , zipped_file in enumerate (archive .namelist (), 1 ):
108108 local_path = os .path .join (extracted_dir_path , zipped_file .replace (first_dir , rename_to , 1 ))
109109 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 } " )
111111 print (f"Verification failed; aborted in { format_time (time .time () - t1 )} " )
112112 return False
113113 print_verification_progress (total_files , i , t1 )
@@ -122,7 +122,7 @@ def verify_files(filename, destination, rename_to):
122122 for i , zipped_file in enumerate (archive .getnames (), 1 ):
123123 local_path = os .path .join (extracted_dir_path , zipped_file .replace (first_dir , rename_to , 1 ))
124124 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 } " )
126126 print (f"Verification failed; aborted in { format_time (time .time () - t1 )} " )
127127 return False
128128 print_verification_progress (total_files , i , t1 )
@@ -147,7 +147,7 @@ def verify_files(filename, destination, rename_to):
147147 else :
148148 raise NotImplementedError ("Unsupported archive type" )
149149
150- if ( verbose ) :
150+ if verbose :
151151 print (f"\n Verification passed; completed in { format_time (time .time () - t1 )} " )
152152
153153 return True
0 commit comments