Procházet zdrojové kódy

[screencastomatic] Remove unused variable

Jaime Marquínez Ferrándiz před 11 roky
rodič
revize
e54a3a2f01
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      youtube_dl/extractor/screencastomatic.py

+ 0 - 1
youtube_dl/extractor/screencastomatic.py

@@ -31,7 +31,6 @@ class ScreencastOMaticIE(InfoExtractor):
             r"(?s)jwplayer\('mp4Player'\).setup\((\{.*?\})\);",
             webpage, 'setup code')
         data = self._parse_json(setup_js, video_id, transform_source=js_to_json)
-        modes = data['modes']
         try:
             video_data = next(
                 m for m in data['modes'] if m.get('type') == 'html5')