remove unused var and import required libs

graphs-n-shit
lza_menace 4 years ago
parent 232efac2c1
commit c89cabaccc

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

Loading…
Cancel
Save