Skip to content

Commit 23c2983

Browse files
committed
[project] Fix formatting
1 parent 2b43b9f commit 23c2983

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

scenedetect/_thirdparty/simpletable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def __str__(self):
287287

288288
# Set encoding
289289
page.append(
290-
'<meta http-equiv="Content-Type" content="text/html;' 'charset=%s">' % self.encoding
290+
'<meta http-equiv="Content-Type" content="text/html;charset=%s">' % self.encoding
291291
)
292292

293293
for table in self.tables:

tests/test_scene_manager.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ def test_save_images(test_video_file, tmp_path: Path):
9595

9696
image_name_glob = "scenedetect.tempfile.*.jpg"
9797
image_name_template = (
98-
"scenedetect.tempfile."
99-
"$SCENE_NUMBER.$IMAGE_NUMBER.$FRAME_NUMBER."
100-
"$TIMESTAMP_MS.$TIMECODE"
98+
"scenedetect.tempfile.$SCENE_NUMBER.$IMAGE_NUMBER.$FRAME_NUMBER.$TIMESTAMP_MS.$TIMECODE"
10199
)
102100

103101
video_fps = video.frame_rate
@@ -134,9 +132,7 @@ def test_save_images_singlethreaded(test_video_file, tmp_path: Path):
134132

135133
image_name_glob = "scenedetect.tempfile.*.jpg"
136134
image_name_template = (
137-
"scenedetect.tempfile."
138-
"$SCENE_NUMBER.$IMAGE_NUMBER.$FRAME_NUMBER."
139-
"$TIMESTAMP_MS.$TIMECODE"
135+
"scenedetect.tempfile.$SCENE_NUMBER.$IMAGE_NUMBER.$FRAME_NUMBER.$TIMESTAMP_MS.$TIMECODE"
140136
)
141137

142138
video_fps = video.frame_rate

0 commit comments

Comments
 (0)