Updated toriptables2.py Refactor
This commit is contained in:
parent
b0f108e1c6
commit
50005bdd1b
1 changed files with 1 additions and 2 deletions
|
@ -48,8 +48,7 @@ DNSPort %s
|
||||||
try:
|
try:
|
||||||
tor_restart = check_call(
|
tor_restart = check_call(
|
||||||
["service", "tor", "restart"],
|
["service", "tor", "restart"],
|
||||||
stdout=fnull,
|
stdout=fnull, stderr=fnull)
|
||||||
stderr=fnull)
|
|
||||||
if tor_restart is 0:
|
if tor_restart is 0:
|
||||||
print(" {0}".format(
|
print(" {0}".format(
|
||||||
"[\033[92m+\033[0m] Anonymizer \033[92mON\033[0m"))
|
"[\033[92m+\033[0m] Anonymizer \033[92mON\033[0m"))
|
||||||
|
|
Loading…
Reference in a new issue