1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 02:52:20 -05:00

Temporary fix for Python 2.7.9 for SSL

See https://www.python.org/dev/peps/pep-0476/ for more info.
This commit is contained in:
Alexandre Beloin 2015-02-04 21:47:57 -05:00
parent c62d8f2c79
commit 21fcea2c31

View File

@ -50,6 +50,10 @@ sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'
if sys.hexversion >= 0x020600F0:
from multiprocessing import freeze_support # @UnresolvedImport
if sys.version_info >= (2, 7, 9):
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
import locale
import datetime
import threading