From 47873ba430678b9a972a4978520eccdda7cc6b49 Mon Sep 17 00:00:00 2001 From: Thorsten Sick Date: Tue, 13 Jul 2021 12:04:10 +0200 Subject: [PATCH] Fixed copy and paste error --- plugins/base/sensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/base/sensor.py b/plugins/base/sensor.py index a7f07ad..faeae20 100644 --- a/plugins/base/sensor.py +++ b/plugins/base/sensor.py @@ -39,7 +39,7 @@ class SensorPlugin(BasePlugin): """ Install the sensor. Executed on the target. Take the sensor from the share and (maybe) copy it to its destination. Do some setup """ - raise True + return True def start(self, disown=None): """ Start the sensor. The connection to the client is disowned here. = Sent to background. This keeps the process running. @@ -47,12 +47,12 @@ class SensorPlugin(BasePlugin): @param disown: Send async into background """ - raise True + return True def stop(self): """ Stop the sensor """ - raise True + return True def __call_collect__(self, machine_path): """ Generate the data collect command