Update toriptables2.py
This commit is contained in:
parent
28fd4c8421
commit
0ef6fde75e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ DNSPort 53
|
||||||
def restart_tor():
|
def restart_tor():
|
||||||
fnull = open(devnull, 'w')
|
fnull = open(devnull, 'w')
|
||||||
tor_restart = check_call(["service", "tor", "restart"],
|
tor_restart = check_call(["service", "tor", "restart"],
|
||||||
stdout=fnull, stderr=fnull)
|
stdout=fnull, stderr=fnull)
|
||||||
if tor_restart is 0:
|
if tor_restart is 0:
|
||||||
print(" {0}".format("[\033[92m+\033[0m] Anonymizer \033[92mON\033[0m"))
|
print(" {0}".format("[\033[92m+\033[0m] Anonymizer \033[92mON\033[0m"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue