From c0b1b70e4eed9c96203b27750806df05dd258cb7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 6 Jul 2018 02:26:54 +0200 Subject: [PATCH] Added call to parent constructor in the remaining plugins --- platypush/plugins/mqtt.py | 3 +++ platypush/plugins/pushbullet.py | 3 +++ platypush/plugins/redis.py | 3 +++ 3 files changed, 9 insertions(+) diff --git a/platypush/plugins/mqtt.py b/platypush/plugins/mqtt.py index cd8cd5f5b3..9a3a6ade43 100644 --- a/platypush/plugins/mqtt.py +++ b/platypush/plugins/mqtt.py @@ -11,6 +11,9 @@ class MqttPlugin(Plugin): with the MQTT protocol, see http://mqtt.org/ """ + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + @action def send_message(self, topic, msg, host, port=1883, *args, **kwargs): """ diff --git a/platypush/plugins/pushbullet.py b/platypush/plugins/pushbullet.py index c016ca1832..c118253c1e 100644 --- a/platypush/plugins/pushbullet.py +++ b/platypush/plugins/pushbullet.py @@ -17,6 +17,9 @@ class PushbulletPlugin(Plugin): * **requests** (``pip install requests``) """ + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + @action def send_push(self, **kwargs): """ diff --git a/platypush/plugins/redis.py b/platypush/plugins/redis.py index 0d07ccb8a6..38b369d409 100644 --- a/platypush/plugins/redis.py +++ b/platypush/plugins/redis.py @@ -12,6 +12,9 @@ class RedisPlugin(Plugin): * **redis** (``pip install redis``) """ + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + @action def send_message(self, queue, msg, *args, **kwargs): """