diff --git a/update.py b/update.py index 9469ee4d..0e2afc62 100644 --- a/update.py +++ b/update.py @@ -79,6 +79,13 @@ 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 Config import config + config.parse() + from src.util import SslPatch + try: update() except Exception, err: