From 3ec194510b464f0e2f4395cbf66b246ef71666b9 Mon Sep 17 00:00:00 2001 From: HallowedDust5 Date: Tue, 21 Jun 2022 21:37:41 -0400 Subject: [PATCH] Removed redundant function --- main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 9998f44..5f01e5f 100755 --- a/main.py +++ b/main.py @@ -37,11 +37,9 @@ def main(): load_dotenv() cleanup() - def get_obj(): - reddit_obj = get_subreddit_threads() - return reddit_obj - reddit_object = get_obj() + + reddit_object = get_subreddit_threads() length, number_of_comments = save_text_to_mp3(reddit_object) download_screenshots_of_reddit_posts(reddit_object, number_of_comments) download_background()