diff --git a/gtts/tts.py b/gtts/tts.py index be62d0f..2cacf34 100644 --- a/gtts/tts.py +++ b/gtts/tts.py @@ -333,6 +333,7 @@ def save(self, savefile): """ with open(str(savefile), "wb") as f: self.write_to_fp(f) + f.flush() log.debug("Saved to %s", savefile)