socket timeout fixer

this error happen when tor not working fine
this script will remove tor service and reinstall it to fix this issue
pull/331/head
Razyar Saeedian 2020-06-20 07:35:12 -04:00 committed by GitHub
parent b8fa2a7405
commit c34ece9066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
socket-timeout-fixer.py Normal file
View File

@ -0,0 +1,21 @@
'''
this will fix fuckin socket timout
run this under su
'''
import os
import sys
from os import system
def install(rep):
system('sudo apt-get install %s' % str(rep))
def uninstall(rep):
system('sudo apt-get autoremove %s' % str(rep))
uninstall('tor')
install('tor')