mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-03 19:34:49 +00:00 
			
		
		
		
	refactor(Subtitle): Do not print "?"/"Unknown" values in str()
This commit is contained in:
		
							parent
							
								
									5c7c080a34
								
							
						
					
					
						commit
						7fa0ff1fc0
					
				@ -142,7 +142,7 @@ class Subtitle(Track):
 | 
			
		||||
    def __str__(self) -> str:
 | 
			
		||||
        return " | ".join(filter(bool, [
 | 
			
		||||
            "SUB",
 | 
			
		||||
            f"[{self.codec.value}]",
 | 
			
		||||
            f"[{self.codec.value}]" if self.codec else None,
 | 
			
		||||
            str(self.language),
 | 
			
		||||
            self.get_track_name()
 | 
			
		||||
        ]))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user