aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:31:47 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-06 14:31:47 -0700
commit36380b03281690cef7ff95902a724e62e54dee77 (patch)
tree5e4ce9c3d17c6547d3eeb98bf063cee4c0dae649 /settings.py
parent3dd0371af1cd2469d2c82a9aaae9d86d1ac1bab9 (diff)
downloadyt-local-36380b03281690cef7ff95902a724e62e54dee77.tar.lz
yt-local-36380b03281690cef7ff95902a724e62e54dee77.tar.xz
yt-local-36380b03281690cef7ff95902a724e62e54dee77.zip
Settings: Fix circular dependency for settings_page
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py4
1 files changed, 1 insertions, 3 deletions
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',