mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-08 19:32:15 +03:00
Removed debug warnings and bool
This commit is contained in:
parent
86de3769d2
commit
8a94a57e78
@ -1432,7 +1432,6 @@ def new_worker():
|
|||||||
'APIkey': creds.api_key,
|
'APIkey': creds.api_key,
|
||||||
'commanderName': creds.cmdr,
|
'commanderName': creds.cmdr,
|
||||||
'commanderFrontierID': creds.fid,
|
'commanderFrontierID': creds.fid,
|
||||||
'isBeingDeveloped': True, # TODO: Remove once update is complete
|
|
||||||
},
|
},
|
||||||
'events': [
|
'events': [
|
||||||
{'eventName': e.name, 'eventTimestamp': e.timestamp, 'eventData': e.data} for e in event_list
|
{'eventName': e.name, 'eventTimestamp': e.timestamp, 'eventData': e.data} for e in event_list
|
||||||
@ -1489,9 +1488,6 @@ def send_data(url: str, data: Mapping[str, Any]) -> bool: # noqa: CCR001
|
|||||||
:param data: the data to POST
|
:param data: the data to POST
|
||||||
:return: success state
|
:return: success state
|
||||||
"""
|
"""
|
||||||
# TODO: Remove this. Its here to ensure we dont forget that we're running test code
|
|
||||||
for x in range(20):
|
|
||||||
logger.info("INARA IS SENDING HEADERS THAT INDICATE DEV MODE!!!!!!!!!!!!!!!!!!!!!!!!!")
|
|
||||||
|
|
||||||
r = this.session.post(url, data=json.dumps(data, separators=(',', ':')), timeout=_TIMEOUT)
|
r = this.session.post(url, data=json.dumps(data, separators=(',', ':')), timeout=_TIMEOUT)
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user