mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-22 20:00:29 +03:00
CAPI: Remove 'safeties' preventing Legacy CAPI queries
This commit is contained in:
parent
088da2e5f0
commit
ccdc187efa
@ -1013,11 +1013,6 @@ class AppWindow(object):
|
||||
self.status['text'] = _('CAPI query aborted: GameVersion unknown')
|
||||
return
|
||||
|
||||
if not monitor.is_live_galaxy():
|
||||
logger.warning("Dropping CAPI request because this is the Legacy galaxy, which is not yet supported")
|
||||
self.status['text'] = 'CAPI for Legacy not yet supported'
|
||||
return
|
||||
|
||||
if not monitor.system:
|
||||
logger.trace_if('capi.worker', 'Aborting Query: Current star system unknown')
|
||||
# LANG: CAPI queries aborted because current star system name unknown
|
||||
|
@ -760,10 +760,6 @@ class Session(object):
|
||||
:return: The resulting CAPI data, of type CAPIData.
|
||||
"""
|
||||
capi_data: CAPIData
|
||||
if capi_host == SERVER_LEGACY:
|
||||
logger.warning("Dropping CAPI request because this is the Legacy galaxy")
|
||||
return capi_data
|
||||
|
||||
try:
|
||||
logger.trace_if('capi.worker', 'Sending HTTP request...')
|
||||
if conf_module.capi_pretend_down:
|
||||
|
Loading…
x
Reference in New Issue
Block a user