From ede4bc820853b473219f8bb12ee028b3829f651b Mon Sep 17 00:00:00 2001 From: Hans5958 Date: Thu, 7 Apr 2022 16:43:12 +0700 Subject: [PATCH] Move things to make it more effective --- tools/formatter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/formatter.py b/tools/formatter.py index a54bf97e..031076af 100644 --- a/tools/formatter.py +++ b/tools/formatter.py @@ -131,12 +131,12 @@ def print_(*args, **kwargs): entry = fix_r_caps(entry) print_("Fixing links without protocol...") entry = fix_no_protocol_urls(entry) - print_("Converting website links to subreddit (if possible)...") - entry = convert_website_to_subreddit(entry) print_("Collapsing Markdown links...") entry = collapse_links(entry) print_("Fix formatting of subreddit...") entry = format_subreddit(entry) + print_("Converting website links to subreddit (if possible)...") + entry = convert_website_to_subreddit(entry) print_("Completed!") return entry