From b43cf13511b64a2fc29e53923c55697fe263bef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Thu, 23 May 2013 16:15:57 +0200 Subject: [PATCH] removed redundant Scottie sync code --- color.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/color.py b/color.py index 59578d3..24fdb16 100644 --- a/color.py +++ b/color.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from __future__ import division -from sstv import FREQ_BLACK, FREQ_RANGE, FREQ_SYNC +from sstv import FREQ_BLACK, FREQ_RANGE from grayscale import GrayscaleSSTV class ColorSSTV(GrayscaleSSTV): @@ -55,7 +55,8 @@ class ScottieS1(MartinM1): def before_channel(self, index): if index != ColorSSTV.RED: - yield FREQ_SYNC, self.SYNC + for item in MartinM1.horizontal_sync(self): + yield item yield FREQ_BLACK, self.INTER_CH_GAP