Fixed missed self on some of the new constructors

This commit is contained in:
Fabio Manganiello 2018-07-06 02:34:12 +02:00
parent a4c7b06e4c
commit d0e7b96ed4
5 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ class AssistantGooglePlugin(Plugin):
backend to programmatically control the conversation status.
"""
def __init__(*args, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@action

View file

@ -12,7 +12,7 @@ class AssistantGooglePushtotalkPlugin(Plugin):
:mod:`platypush.backend.assistant.google.pushtotalk` backend.
"""
def __init__(*args, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@action

View file

@ -13,7 +13,7 @@ class CameraPiPlugin(Plugin):
to programmatically control the status.
"""
def __init__(*args, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@action

View file

@ -16,7 +16,7 @@ class GpioPlugin(Plugin):
* **RPi.GPIO** (`pip install RPi.GPIO`)
"""
def __init__(*args, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@action

View file

@ -39,7 +39,7 @@ class HttpRequestPlugin(Plugin):
}
"""
def __init__(*args, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def _exec(self, method, url, output='text', **kwargs):