mirror of
				https://github.com/scummvm/scummvm-icons.git
				synced 2025-10-28 06:22:26 -05:00 
			
		
		
		
	ICONS: Fix workaround for the old LIST format
This commit is contained in:
		
					parent
					
						
							
								0cec844ad4
							
						
					
				
			
			
				commit
				
					
						5c6a0e9fab
					
				
			
		
					 1 changed files with 0 additions and 10 deletions
				
			
		
							
								
								
									
										10
									
								
								gen-set.py
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										10
									
								
								gen-set.py
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							|  | @ -244,16 +244,6 @@ def get_listfile_lasthash() -> Tuple[str, List[str]]: | |||
| 
 | ||||
|     last_entry_values = listfile_entries[-1].split(LIST_DELIM) | ||||
| 
 | ||||
|     if len(last_entry_values) == 1 or len(last_entry_values) == 2: | ||||
|         # remove this if/else after LIST file is committed with FIRST_HASH and just use else print/quit() | ||||
|         if len(listfile_entries) == 1: | ||||
|             print("WARNING: Workaround - fixing first line of LIST file! Pls remove this fix after the first run") | ||||
|             last_entry_values.append(FIRST_HASH) | ||||
|             listfile_entries[0] = listfile_entries[0].rstrip() + "," + FIRST_HASH | ||||
|     else: | ||||
|         print("Wrong LIST entry format - please add inputDate argument yyyymmdd and run the script again") | ||||
|         sys.exit(1) | ||||
| 
 | ||||
|     return last_entry_values[2], listfile_entries | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue