From 2550552b28669e60d7a03de02cd5a35469af9816 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 31 Dec 2018 03:18:42 -0800 Subject: [PATCH] Indicate whether tor routing is on --- settings.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index a9831ffd..2a3885f9 100644 --- a/settings.py +++ b/settings.py @@ -44,7 +44,6 @@ def log_ignored_line(line_number, message): 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 @@ def log_ignored_line(line_number, message): 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")