We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55617dd commit ac1cbcaCopy full SHA for ac1cbca
ricecooker/classes/files.py
@@ -12,7 +12,6 @@
12
from urllib.parse import urlparse
13
from xml.etree import ElementTree
14
15
-import requests
16
import youtube_dl
17
from cachecontrol.caches.file_cache import FileCache
18
from le_utils.constants import exercises
@@ -722,7 +721,9 @@ def process_file(self):
722
721
and extension not in CONVERTIBLE_FORMATS[format_presets.VIDEO_HIGH_RES]
723
):
724
raise ValueError(
725
- "Incompatible extension {} for VideoFile at {}".format(ext, self.path)
+ "Incompatible extension {} for VideoFile at {}".format(
+ extension, self.path
726
+ )
727
)
728
try:
729
if extension not in self.allowed_formats:
0 commit comments