dont submit again

This commit is contained in:
lza_menace 2021-05-14 14:17:37 -07:00
parent 307d189967
commit 9045de9029

View file

@ -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)