mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
remove unused var and import required libs
This commit is contained in:
parent
232efac2c1
commit
c89cabaccc
2 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,6 @@ def reddit_recent():
|
||||||
@app.cli.command("reddit_random")
|
@app.cli.command("reddit_random")
|
||||||
def reddit_random():
|
def reddit_random():
|
||||||
# run every 8 hours
|
# run every 8 hours
|
||||||
wallet = wownero.Wallet()
|
|
||||||
all_posts = Post.select().where(Post.reddit_url == None)
|
all_posts = Post.select().where(Post.reddit_url == None)
|
||||||
post = choice(all_posts)
|
post = choice(all_posts)
|
||||||
make_post(post)
|
make_post(post)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import praw
|
import praw
|
||||||
|
from flask import url_for
|
||||||
from suchwow import config, wownero
|
from suchwow import config, wownero
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue