Commit d9a9643b authored by Mathieu Duponchelle's avatar Mathieu Duponchelle Committed by Thibault Saunier
Browse files

AudioPreviewer: open pickle file in binary mode.

parent 0a303d6a
......@@ -844,7 +844,7 @@ class AudioPreviewer(Clutter.Actor, PreviewGenerator, Zoomable, Loggable):
samples = numpy.array(self.peaks[0])
self.samples = samples.tolist()
f = open(self.wavefile, 'w')
f = open(self.wavefile, 'wb')
pickle.dump(self.samples, f)
def _startRendering(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment