mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 19:08:02 -05:00
Merge pull request #1304 from abeloin/patch-python_279
Temporary fix for Python 2.7.9 for SSL
This commit is contained in:
commit
ad3a54ba51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user