mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-08 19:32:15 +03:00
eddn: Move tracking_ui_update()
nearer top of journal_entry()
With the tracking now being in monitor.py this needs to be ASAP after the local copies of the tracking have been updated. Below the possible `this.status_body_name` blanking, in case that's hit.
This commit is contained in:
parent
7b62fa1125
commit
b5bb9657d8
@ -2224,6 +2224,8 @@ def journal_entry( # noqa: C901, CCR001
|
|||||||
if entry['MusicTrack'] == 'MainMenu':
|
if entry['MusicTrack'] == 'MainMenu':
|
||||||
this.status_body_name = None
|
this.status_body_name = None
|
||||||
|
|
||||||
|
tracking_ui_update()
|
||||||
|
|
||||||
# Events with their own EDDN schema
|
# Events with their own EDDN schema
|
||||||
if config.get_int('output') & config.OUT_EDDN_SEND_NON_STATION and not state['Captain']:
|
if config.get_int('output') & config.OUT_EDDN_SEND_NON_STATION and not state['Captain']:
|
||||||
|
|
||||||
@ -2409,8 +2411,6 @@ def journal_entry( # noqa: C901, CCR001
|
|||||||
logger.debug(f'Failed exporting {entry["event"]}', exc_info=e)
|
logger.debug(f'Failed exporting {entry["event"]}', exc_info=e)
|
||||||
return str(e)
|
return str(e)
|
||||||
|
|
||||||
tracking_ui_update()
|
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user