From 9045de902988c41226d66825b172a88ab0e34dab Mon Sep 17 00:00:00 2001 From: lza_menace Date: Fri, 14 May 2021 14:17:37 -0700 Subject: [PATCH] dont submit again --- suchwow/reddit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/suchwow/reddit.py b/suchwow/reddit.py index 3789e91..66915b0 100644 --- a/suchwow/reddit.py +++ b/suchwow/reddit.py @@ -35,6 +35,9 @@ class Reddit(object): return False def make_post(post): + if post.to_reddit: + print(f"Already posted #{post.id} to Reddit") + return False wallet = wownero.Wallet() title = f"SuchWow #{post.id} - {post.title}" url = url_for('post.uploaded_file', filename=post.image_name, _external=True)