mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
fix argument order
This commit is contained in:
parent
4331be6199
commit
cd6f88e539
|
@ -68,7 +68,7 @@ def fetch_discussions():
|
||||||
def parse_discussion_post(post):
|
def parse_discussion_post(post):
|
||||||
"""Initial post recognition & handling"""
|
"""Initial post recognition & handling"""
|
||||||
post_type = post["_embedded"]["thread"][0]["containerType"]
|
post_type = post["_embedded"]["thread"][0]["containerType"]
|
||||||
formatter(post, post_type)
|
formatter(post_type, post)
|
||||||
|
|
||||||
|
|
||||||
def safe_request(url):
|
def safe_request(url):
|
||||||
|
|
Loading…
Reference in a new issue