Use python 3 try-except syntax

This commit is contained in:
Mohammed Yaseen Mowzer 2018-06-16 10:31:17 +02:00
parent 8ea9ae6008
commit 695c672e99

View File

@ -3123,7 +3123,7 @@ class GenericIE(InfoExtractor):
info = self._parse_jwplayer_data(
jwplayer_data, video_id, require_title=False, base_url=url)
return merge_dicts(info, info_dict)
except ExtractorError, e:
except ExtractorError as e:
self.to_screen(e.msg_without_bug_report)
self.to_screen("Trying different extractor")