aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-12-31 03:18:42 -0800
committerJames Taylor <user234683@users.noreply.github.com>2018-12-31 03:18:42 -0800
commit2550552b28669e60d7a03de02cd5a35469af9816 (patch)
treedde06952b59ec28abcf60ee74b2b91d5f353539c /settings.py
parenteda81412f65ff74629e553f55c99e45a18181601 (diff)
downloadyt-local-2550552b28669e60d7a03de02cd5a35469af9816.tar.lz
yt-local-2550552b28669e60d7a03de02cd5a35469af9816.tar.xz
yt-local-2550552b28669e60d7a03de02cd5a35469af9816.zip
Indicate whether tor routing is on
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/settings.py b/settings.py
index a9831ff..2a3885f 100644
--- a/settings.py
+++ b/settings.py
@@ -44,7 +44,6 @@ else:
os.makedirs(settings_dir)
-
try:
with open(os.path.join(settings_dir, 'settings.txt'), 'r', encoding='utf-8') as file:
settings_text = file.read()
@@ -85,4 +84,8 @@ else:
continue
locals()[target.id] = node.value.__getattribute__(attributes[type(node.value)])
- \ No newline at end of file
+
+if route_tor:
+ print("Tor routing is ON")
+else:
+ print("Tor routing is OFF - your Youtube activity is NOT anonymous")