diff --git a/moviepy/audio/AudioClip.py b/moviepy/audio/AudioClip.py index 5811088b1..644eb50fc 100644 --- a/moviepy/audio/AudioClip.py +++ b/moviepy/audio/AudioClip.py @@ -230,7 +230,7 @@ def write_audiofile( """ if not fps: - if not self.fps: + if hasattr(self, "fps"): fps = 44100 else: fps = self.fps