fix argument order

This commit is contained in:
Markus-Rost 2020-08-05 02:21:13 +02:00
parent 4331be6199
commit cd6f88e539

View file

@ -68,7 +68,7 @@ def fetch_discussions():
def parse_discussion_post(post):
"""Initial post recognition & handling"""
post_type = post["_embedded"]["thread"][0]["containerType"]
formatter(post, post_type)
formatter(post_type, post)
def safe_request(url):