mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 20:57:07 -05:00 
			
		
		
		
	[utils] dfxp2srt: make TTMLPElementParser inherit from object
For consistency between python 2 and 3.
This commit is contained in:
		@@ -2017,7 +2017,7 @@ def dfxp2srt(dfxp_data):
 | 
			
		||||
        'ttaf1': 'http://www.w3.org/2006/10/ttaf1',
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
    class TTMLPElementParser:
 | 
			
		||||
    class TTMLPElementParser(object):
 | 
			
		||||
        out = ''
 | 
			
		||||
 | 
			
		||||
        def start(self, tag, attrib):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user