mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
dont submit again
This commit is contained in:
parent
307d189967
commit
9045de9029
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue