From 2550552b28669e60d7a03de02cd5a35469af9816 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 31 Dec 2018 03:18:42 -0800 Subject: 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 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") -- cgit v1.2.3