Update toriptables2.py
This commit is contained in:
parent
95c7a0d3f7
commit
ee4ecd5e2b
1 changed files with 0 additions and 2 deletions
|
@ -41,8 +41,6 @@ DNSPort 53
|
||||||
|
|
||||||
@register
|
@register
|
||||||
def restart_tor():
|
def restart_tor():
|
||||||
import sys
|
|
||||||
sys.tracebacklimit = 0
|
|
||||||
fnull = open(devnull, 'w')
|
fnull = open(devnull, 'w')
|
||||||
try:
|
try:
|
||||||
tor_restart = check_call(["service", "tor", "restart"],
|
tor_restart = check_call(["service", "tor", "restart"],
|
||||||
|
|
Loading…
Reference in a new issue