From c89cabacccf3f820324d147a723ba1cd5239d851 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 15 Oct 2020 14:56:28 -0700 Subject: [PATCH] remove unused var and import required libs --- suchwow/app.py | 1 - suchwow/reddit.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/suchwow/app.py b/suchwow/app.py index 6bca046..138c251 100644 --- a/suchwow/app.py +++ b/suchwow/app.py @@ -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) diff --git a/suchwow/reddit.py b/suchwow/reddit.py index 24e6b54..5b6fd6b 100644 --- a/suchwow/reddit.py +++ b/suchwow/reddit.py @@ -1,4 +1,5 @@ import praw +from flask import url_for from suchwow import config, wownero