remove unused var and import required libs

This commit is contained in:
lza_menace 2020-10-15 14:56:28 -07:00
parent 232efac2c1
commit c89cabaccc
2 changed files with 1 additions and 1 deletions

View File

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

View File

@ -1,4 +1,5 @@
import praw
from flask import url_for
from suchwow import config, wownero