Get the JSON/string output out of the Response object

This commit is contained in:
Fabio Manganiello 2018-04-29 16:28:01 +02:00
parent cddd740666
commit cbe676a29f

View file

@ -15,7 +15,7 @@ class SerialBackend(Backend):
def get_data(self): def get_data(self):
plugin = get_plugin('serial') plugin = get_plugin('serial')
return plugin.get_data() return plugin.get_data().output
def run(self): def run(self):
super().run() super().run()