1
0

prevent dns leaks when using proxy. fixes issue #147

This commit is contained in:
ThomasV
2013-10-01 11:24:55 +02:00
parent 89a9ce2ab4
commit 27cc09e8e2
2 changed files with 30 additions and 15 deletions

View File

@@ -56,6 +56,10 @@ class Network(threading.Thread):
self.proxy = self.config.get('proxy')
self.heights = {}
dir_path = os.path.join( self.config.path, 'certs')
if not os.path.exists(dir_path):
os.mkdir(dir_path)
def register_callback(self, event, callback):
with self.lock: