From a16176cfd638a22b93952c111aa2d5f2a612d744 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Sat, 17 Oct 2020 22:00:13 -0700 Subject: [PATCH] make sure we only do one post at a time --- suchwow/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/suchwow/app.py b/suchwow/app.py index e269dc7..6e2dab0 100644 --- a/suchwow/app.py +++ b/suchwow/app.py @@ -73,6 +73,7 @@ def reddit_recent(): recent_post = diff < timedelta(hours=2) if recent_post: make_post(post) + return @app.cli.command("reddit_random") def reddit_random():