dont submit again

pull/4/head
lza_menace 4 years ago
parent 307d189967
commit 9045de9029

@ -35,6 +35,9 @@ class Reddit(object):
return False return False
def make_post(post): def make_post(post):
if post.to_reddit:
print(f"Already posted #{post.id} to Reddit")
return False
wallet = wownero.Wallet() wallet = wownero.Wallet()
title = f"SuchWow #{post.id} - {post.title}" title = f"SuchWow #{post.id} - {post.title}"
url = url_for('post.uploaded_file', filename=post.image_name, _external=True) url = url_for('post.uploaded_file', filename=post.image_name, _external=True)

Loading…
Cancel
Save