From 208fa3bf2e07c06c6ccdd9342f5521d61f4791c7 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 15 Oct 2020 00:16:29 -0700 Subject: [PATCH] add print stmt for reddit posting --- suchwow/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/suchwow/app.py b/suchwow/app.py index 0f5c9c6..c24dcab 100644 --- a/suchwow/app.py +++ b/suchwow/app.py @@ -77,6 +77,7 @@ def reddit_recent(): reddit_post = Reddit().post(title, url) post.reddit_url = reddit_post.url post.save() + print(f"Posted #{post.id} to Reddit - {reddit_post.url}") return True @app.cli.command("reddit_random") @@ -89,6 +90,7 @@ def reddit_random(): reddit_post = Reddit().post(title, url) post.reddit_url = reddit_post.url post.save() + print(f"Posted #{post.id} to Reddit - {reddit_post.url}") return True @app.cli.command("payout_users")