Skip to content

Commit

Permalink
Merge pull request #2216 from take0x/fix-attribute-check
Browse files Browse the repository at this point in the history
Fix attribute check
  • Loading branch information
OsaAjani authored Jan 10, 2025
2 parents 343e286 + 5990dff commit 10be13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moviepy/audio/AudioClip.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def write_audiofile(
"""
if not fps:
if not self.fps:
if hasattr(self, "fps"):
fps = 44100
else:
fps = self.fps
Expand Down

0 comments on commit 10be13e

Please sign in to comment.