Skip to content

Commit

Permalink
Indicate whether tor routing is on
Browse files Browse the repository at this point in the history
  • Loading branch information
user234683 committed Dec 31, 2018
1 parent eda8141 commit 2550552
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -85,4 +84,8 @@ def log_ignored_line(line_number, message):
continue

locals()[target.id] = node.value.__getattribute__(attributes[type(node.value)])


if route_tor:
print("Tor routing is ON")
else:
print("Tor routing is OFF - your Youtube activity is NOT anonymous")

0 comments on commit 2550552

Please sign in to comment.