瀏覽代碼

Import FileDownloader in test_youtube_subtitles

Fix last commit
Jaime Marquínez Ferrándiz 12 年之前
父節點
當前提交
057c9938a1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/test_youtube_subtitles.py

+ 1 - 0
test/test_youtube_subtitles.py

@@ -12,6 +12,7 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
 
 from youtube_dl.InfoExtractors import YoutubeIE
 from youtube_dl.InfoExtractors import YoutubeIE
 from youtube_dl.utils import *
 from youtube_dl.utils import *
+from youtube_dl import FileDownloader
 
 
 PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "parameters.json")
 PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "parameters.json")
 with io.open(PARAMETERS_FILE, encoding='utf-8') as pf:
 with io.open(PARAMETERS_FILE, encoding='utf-8') as pf: