@ -77,7 +77,6 @@ def reddit_recent():
@app.cli.command("reddit_random")
def reddit_random():
# run every 8 hours
wallet = wownero.Wallet()
all_posts = Post.select().where(Post.reddit_url == None)
post = choice(all_posts)
make_post(post)
@ -1,4 +1,5 @@
import praw
from flask import url_for
from suchwow import config, wownero