0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[utils] dfxp2srt: make TTMLPElementParser inherit from object

For consistency between python 2 and 3.
This commit is contained in:
Jaime Marquínez Ferrándiz 2016-02-02 22:30:13 +01:00
parent 6fba62c87a
commit 87de7069b9

View file

@ -2017,7 +2017,7 @@ def dfxp2srt(dfxp_data):
'ttaf1': 'http://www.w3.org/2006/10/ttaf1', 'ttaf1': 'http://www.w3.org/2006/10/ttaf1',
}) })
class TTMLPElementParser: class TTMLPElementParser(object):
out = '' out = ''
def start(self, tag, attrib): def start(self, tag, attrib):