mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
Removed python2 specific code
This entire branch is py3 only, and even with this code the actual file isn't py2 compatible syntax wise
This commit is contained in:
parent
0b6ef97f41
commit
dcb9853b68
@ -308,11 +308,6 @@ class Session(object):
|
||||
self.auth = None
|
||||
self.retrying = False # Avoid infinite loop when successful auth / unsuccessful query
|
||||
|
||||
# yuck suppress InsecurePlatformWarning under Python < 2.7.9 which lacks SNI support
|
||||
if sys.version_info < (2, 7, 9):
|
||||
from requests.packages import urllib3
|
||||
urllib3.disable_warnings()
|
||||
|
||||
def login(self, cmdr=None, is_beta=None):
|
||||
# Returns True if login succeeded, False if re-authorization initiated.
|
||||
if not CLIENT_ID:
|
||||
|
Loading…
x
Reference in New Issue
Block a user