From cbe676a29f81e9c2b7d2dcdf04b0fe075491ce12 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 29 Apr 2018 16:28:01 +0200 Subject: [PATCH] Get the JSON/string output out of the Response object --- platypush/backend/serial/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/serial/__init__.py b/platypush/backend/serial/__init__.py index 2ecd5ba4d..4a30018c2 100644 --- a/platypush/backend/serial/__init__.py +++ b/platypush/backend/serial/__init__.py @@ -15,7 +15,7 @@ class SerialBackend(Backend): def get_data(self): plugin = get_plugin('serial') - return plugin.get_data() + return plugin.get_data().output def run(self): super().run()