fix: Corrected a missing elif that was causing duplicated output when --uuid was specified
This commit is contained in:
		
					parent
					
						
							
								a792cf8a50
							
						
					
				
			
			
				commit
				
					
						2e18e6f232
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -56,7 +56,7 @@ def main(uuid, header, sort):
 | 
				
			||||||
        for entry in entries:
 | 
					        for entry in entries:
 | 
				
			||||||
            if entry["project"] == project and uuid:
 | 
					            if entry["project"] == project and uuid:
 | 
				
			||||||
                print(f'\t* {entry["description"]} ({entry["uuid"]})')
 | 
					                print(f'\t* {entry["description"]} ({entry["uuid"]})')
 | 
				
			||||||
            if entry["project"] == project:
 | 
					            elif entry["project"] == project:
 | 
				
			||||||
                print(f'\t* {entry["description"]}')
 | 
					                print(f'\t* {entry["description"]}')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue