Skip to content

Commit ac1cbca

Browse files
committed
pre-commit linting
1 parent 55617dd commit ac1cbca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ricecooker/classes/files.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from urllib.parse import urlparse
1313
from xml.etree import ElementTree
1414

15-
import requests
1615
import youtube_dl
1716
from cachecontrol.caches.file_cache import FileCache
1817
from le_utils.constants import exercises
@@ -722,7 +721,9 @@ def process_file(self):
722721
and extension not in CONVERTIBLE_FORMATS[format_presets.VIDEO_HIGH_RES]
723722
):
724723
raise ValueError(
725-
"Incompatible extension {} for VideoFile at {}".format(ext, self.path)
724+
"Incompatible extension {} for VideoFile at {}".format(
725+
extension, self.path
726+
)
726727
)
727728
try:
728729
if extension not in self.allowed_formats:

0 commit comments

Comments
 (0)