forked from platypush/platypush
Get the JSON/string output out of the Response object
This commit is contained in:
parent
cddd740666
commit
cbe676a29f
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue