diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 18dbe28bb5..4262ad6ac9 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -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):