mirror of
https://github.com/dnet/pySSTV.git
synced 2026-03-05 20:43:58 +01:00
renamed deprecated method
This commit is contained in:
parent
eaa8cd4dca
commit
bcd0568ca4
|
|
@ -51,7 +51,7 @@ class SSTV(object):
|
|||
wav.setnchannels(self.nchannels)
|
||||
wav.setsampwidth(self.bits // 8)
|
||||
wav.setframerate(self.samples_per_sec)
|
||||
wav.writeframes(data.tostring())
|
||||
wav.writeframes(data.tobytes())
|
||||
|
||||
def gen_samples(self):
|
||||
"""generates discrete samples from gen_values()
|
||||
|
|
|
|||
Loading…
Reference in a new issue