Skip to content

Commit

Permalink
Fix standalone update.py run by applying ssl patch
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Apr 6, 2016
1 parent a37c323 commit 258822d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 258822d

Please sign in to comment.