kopia lustrzana https://github.com/yt-dlp/yt-dlp
[utils] dfxp2srt: make TTMLPElementParser inherit from object
For consistency between python 2 and 3.pull/8/head
rodzic
6fba62c87a
commit
87de7069b9
|
@ -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):
|
||||
|
|
Ładowanie…
Reference in New Issue