Skip to content

Commit 748bba9

Browse files
authored
Merge pull request #919 from PrefectHQ/extra-return
Extra return
2 parents a35a7ba + 9071387 commit 748bba9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/marvin/audio.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ def record(duration: int = None) -> Audio:
118118
frames.close()
119119
audio = sr.audio.AudioData(frame_data, source.SAMPLE_RATE, source.SAMPLE_WIDTH)
120120

121-
return audio
122121
return Audio(data=audio.get_wav_data(), format="wav")
123122

124123

0 commit comments

Comments
 (0)