Browse Source

[utils] dfxp2srt: make TTMLPElementParser inherit from object

For consistency between python 2 and 3.
totalwebcasting
Jaime Marquínez Ferrándiz 9 years ago
parent
commit
87de7069b9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/utils.py

+ 1
- 1
youtube_dl/utils.py View File

@ -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):


Loading…
Cancel
Save