From 9bf312ca85f8067663ca69d37538d7a525d7c092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Fri, 22 Nov 2013 18:19:00 +0100 Subject: [PATCH] added SSTV.on_init() hook --- pysstv/sstv.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pysstv/sstv.py b/pysstv/sstv.py index 496a953..29771db 100644 --- a/pysstv/sstv.py +++ b/pysstv/sstv.py @@ -33,6 +33,10 @@ class SSTV(object): self.vox_enabled = False self.fskid_payload = '' self.nchannels = 1 + self.on_init() + + def on_init(self): + pass BITS_TO_STRUCT = {8: 'b', 16: 'h'}