From 92b7b49f6964f57a7d6fc4473645c993cfa4ba52 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 15 May 2016 15:42:48 +0200 Subject: Use consistent __init__() format across all PDs. The previous **kwargs some PDs had is not actually ever used, so drop it. --- decoders/rgb_led_ws281x/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/rgb_led_ws281x') diff --git a/decoders/rgb_led_ws281x/pd.py b/decoders/rgb_led_ws281x/pd.py index e317b71..439f736 100644 --- a/decoders/rgb_led_ws281x/pd.py +++ b/decoders/rgb_led_ws281x/pd.py @@ -46,7 +46,7 @@ class Decoder(srd.Decoder): ('rgb', 'RGB', (2,)), ) - def __init__(self, **kwargs): + def __init__(self): self.samplerate = None self.oldpin = None self.packet_ss = None -- cgit v1.2.3-70-g09d2