From 36380b03281690cef7ff95902a724e62e54dee77 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 6 Sep 2019 14:31:47 -0700 Subject: Settings: Fix circular dependency for settings_page --- settings.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'settings.py') diff --git a/settings.py b/settings.py index 3e2e1d0..16cdf78 100644 --- a/settings.py +++ b/settings.py @@ -1,4 +1,4 @@ -from youtube import util, yt_app +from youtube import util import ast import re import os @@ -271,8 +271,6 @@ else: print("Tor routing is OFF - your Youtube activity is NOT anonymous") - -@yt_app.route('/settings', methods=['POST', 'GET']) def settings_page(): if request.method == 'GET': return flask.render_template('settings.html', -- cgit v1.2.3