浏览代码

[extractor/minds]

Linter
dirkf 3 年之前
父节点
当前提交
28194bd327
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/minds.py

+ 1 - 1
youtube_dl/extractor/minds.py

@@ -78,7 +78,7 @@ class MindsIE(MindsBaseIE):
             else:
             else:
                 return self.url_result(entity['perma_url'])
                 return self.url_result(entity['perma_url'])
         else:
         else:
-            assert(entity['subtype'] == 'video')
+            assert (entity['subtype'] == 'video')
             video_id = entity_id
             video_id = entity_id
         # 1080p and webm formats available only on the sources array
         # 1080p and webm formats available only on the sources array
         video = self._call_api(
         video = self._call_api(