From 8553a8eeb5711ecc11cb8b1a2f4fc55f65f5418f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 13 Apr 2019 08:10:35 +0000 Subject: [PATCH] typo --- platypush/plugins/http/webpage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/http/webpage.py b/platypush/plugins/http/webpage.py index 65c86e269..d4abca56d 100644 --- a/platypush/plugins/http/webpage.py +++ b/platypush/plugins/http/webpage.py @@ -61,7 +61,7 @@ class HttpWebpagePlugin(Plugin): if not response or not response.ok: raise RuntimeError("Unable to parse content for {}: {}".format(url, response.reason)) - self.logger.info('Got response from Mercury API: {}'.format(response.text)) + self.logger.info('Got response from Mercury API: {}'.format(response.json())) title = response.json().get('title', 'No_title_{}'.format(int(time.time()))) content = '

{title}

{content}'.\ format(title=title, content=response.json()['content'],