mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-09 03:42:16 +03:00
EDDN: TODO on refactoring & return result of fssdiscoveryscan export
This commit is contained in:
parent
c4ba8acb17
commit
1dda61907b
@ -661,6 +661,7 @@ Msg:\n{msg}'''
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
# Augmentations
|
# Augmentations
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
# TODO: See if any of this can be factored out into helper functions.
|
||||||
entry['SystemName'] = system
|
entry['SystemName'] = system
|
||||||
|
|
||||||
if this.systemaddress is None:
|
if this.systemaddress is None:
|
||||||
@ -910,7 +911,7 @@ def journal_entry( # noqa: C901, CCR001
|
|||||||
if config.get_int('output') & config.OUT_SYS_EDDN and not state['Captain']:
|
if config.get_int('output') & config.OUT_SYS_EDDN and not state['Captain']:
|
||||||
# Events with their own EDDN schema
|
# Events with their own EDDN schema
|
||||||
if entry['event'].lower() == 'fssdiscoveryscan':
|
if entry['event'].lower() == 'fssdiscoveryscan':
|
||||||
this.eddn.export_journal_fssdiscoveryscan(cmdr, system, is_beta, entry)
|
return this.eddn.export_journal_fssdiscoveryscan(cmdr, system, is_beta, entry)
|
||||||
|
|
||||||
# Send interesting events to EDDN, but not when on a crew
|
# Send interesting events to EDDN, but not when on a crew
|
||||||
if (config.get_int('output') & config.OUT_SYS_EDDN and not state['Captain'] and
|
if (config.get_int('output') & config.OUT_SYS_EDDN and not state['Captain'] and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user