Skip to content

Commit d7cb329

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3b10cdc commit d7cb329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manim/scene/scene_file_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def close_partial_movie_stream(self):
518518
if duration := len(self.audio_segment) < end:
519519
self.audio_segment += AudioSegment.silent(duration=end - duration)
520520

521-
sound = self.audio_segment[start : end]
521+
sound = self.audio_segment[start:end]
522522
array = np.frombuffer(sound.raw_data, dtype=np.int16).reshape(1, -1)
523523
layout = "stereo" if sound.channels == 2 else "mono"
524524
frame = av.AudioFrame.from_ndarray(array, layout=layout)

0 commit comments

Comments
 (0)