mirror of
https://github.com/moparisthebest/SickRage
synced 2025-03-02 09:31:46 -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:
parent
c62d8f2c79
commit
21fcea2c31
@ -50,6 +50,10 @@ sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'
|
|||||||
if sys.hexversion >= 0x020600F0:
|
if sys.hexversion >= 0x020600F0:
|
||||||
from multiprocessing import freeze_support # @UnresolvedImport
|
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 locale
|
||||||
import datetime
|
import datetime
|
||||||
import threading
|
import threading
|
||||||
|
Loading…
x
Reference in New Issue
Block a user