Fix socket proxy skip on updating

This commit is contained in:
shortcutme 2017-06-05 01:07:39 +02:00
parent 653219d1de
commit 4c11c96164
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 4 additions and 5 deletions

View File

@ -9,10 +9,6 @@ import re
import json
import cStringIO as StringIO
from gevent import monkey
monkey.patch_all()
def download():
from src.util import helper
@ -127,9 +123,12 @@ def update():
if __name__ == "__main__":
# Fix broken gevent SSL
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src")) # Imports relative to src
from gevent import monkey
monkey.patch_all()
from Config import config
config.parse()
from src.util import SslPatch