chore: Pretty print articles in modify_feed
This commit is contained in:
parent
a13bdc1e08
commit
d653bc948d
|
@ -7,6 +7,9 @@ log = logging.getLogger(__name__)
|
||||||
|
|
||||||
def modify_feed(context, feed):
|
def modify_feed(context, feed):
|
||||||
pprint.pprint(context)
|
pprint.pprint(context)
|
||||||
|
if 'articles' in context:
|
||||||
|
for article in context['articles']:
|
||||||
|
pprint.pprint(article)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user