From bf5296eb8379eb9151843b2112b1fa8575aa3ad0 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 10 Dec 2020 13:23:26 -0800 Subject: [PATCH] make cli arg just post and not worry about if it has or not --- suchwow/app.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/suchwow/app.py b/suchwow/app.py index 33196e2..5b03fd7 100644 --- a/suchwow/app.py +++ b/suchwow/app.py @@ -96,10 +96,8 @@ def post_new_memes(): @click.argument("post_id") def post_meme(post_id): post = Post.get(id=post_id) - if not post.to_reddit: - make_post(post) - if not post.to_discord: - post_discord_webhook(post) + make_post(post) + post_discord_webhook(post) return @app.cli.command("reddit_random")