forked from distok/cutthecord
		
	patchport: don't warn when skipping instructional patches
This commit is contained in:
		
							parent
							
								
									cbc72c4155
								
							
						
					
					
						commit
						46ac15a055
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -63,7 +63,9 @@ for patch in os.listdir(os.path.join(cutthecord_folder, "patches")): | |||
| 
 | ||||
|     # Check if patch exists for from_version, if it doesn't, warn user | ||||
|     if not os.path.isfile(patch_path): | ||||
|         print(f"SKIPPED: No {from_versionname} version found for {patch}.") | ||||
|         # Don't warn on instructional patches | ||||
|         if patch not in ["customfont", "customring"]: | ||||
|             print(f"SKIPPED: No {from_versionname} version found for {patch}.") | ||||
|         continue | ||||
| 
 | ||||
|     # Get a modified version of the patch | ||||
|  | @ -118,4 +120,4 @@ else: | |||
|         f.write(ctcr_text) | ||||
| 
 | ||||
|     print("Port complete. All patches completed successfully. " | ||||
|           "README was updated.") | ||||
|           "README.md was updated.") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue