From c3e5ce6441e732a667d30d4ba7a58127ce09f619 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Fri, 25 Aug 2023 15:26:42 +0200 Subject: [PATCH] Update rpst.py --- rpst/rpst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpst/rpst.py b/rpst/rpst.py index 18b03a7..7b733a7 100644 --- a/rpst/rpst.py +++ b/rpst/rpst.py @@ -27,7 +27,7 @@ def create_post_branch(post: dict, keyword: str, tree: Tree, args: argparse) -> f"{glyph.people_hugging} Subreddit": post["data"]["subreddit_name_prefixed"], f"{glyph.face_with_peeking_eye} Visibility": post["data"]["subreddit_type"], f"{glyph.framed_picture} Thumbnail": post["data"]["thumbnail"], - f"{glyph.white_question_mark} Gilded": post["data"]["gilded"], + f"{glyph.white_question_mark} Gilded": post["data"]["gilded"], f"{glyph.up_arrow} Upvotes": post["data"]["ups"], f"{glyph.chart_increasing} Upvote ratio": post["data"]["upvote_ratio"], f"{glyph.down_arrow} Downvotes": post["data"]["downs"], @@ -125,7 +125,7 @@ def get_posts(args: argparse): # Log the number of posts in which the keyword was found main_tree.add( - f"{glyph.check_mark_button} Keyword ('{keyword}') was found in " + f"{glyph.check_mark_button} Keyword ('{keyword}') was found in " f"{found_posts}/{len(response['data']['children'])} {listing} posts from r/{subreddit}." ) xprint(main_tree)