Skip to content

Video editing with Python

removed buggy line in readers.py that made pygame mandatory.

Zulko6553865d792a
diff --git a/moviepy/audio/io/readers.py b/moviepy/audio/io/readers.py
index 6c8bf493..7cdc03eb 100644
--- a/moviepy/audio/io/readers.py
+++ b/moviepy/audio/io/readers.py
@@ -7,12 +7,9 @@ import numpy as np
#from moviepy.clip import Clip
from moviepy.tools import cvsecs
-from moviepy.video.io.preview import imdisplay
from moviepy.conf import FFMPEG_BINARY
from moviepy.tools import cvsecs
-
-
class FFMPEG_AudioReader:
""" streams any file (audio or video) and outputs a 16bit 44100HZ
@@ -28,8 +25,6 @@ class FFMPEG_AudioReader:
self.load_infos()
self.initialize()
-
-
def initialize(self):
""" Opens the file, creates the pipe. """