mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-15 14:52:15 +03:00
plugins/inara: Don't try to send None-system location
I'm not sure normal use can cause this, but it's an easy obvious check.
This commit is contained in:
parent
2184afba9b
commit
278a78c09a
@ -449,6 +449,9 @@ def journal_entry( # noqa: C901, CCR001
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Update location
|
# Update location
|
||||||
|
# Might not be available if this event is a 'StartUp' and we're replaying
|
||||||
|
# a log.
|
||||||
|
if system:
|
||||||
new_add_event(
|
new_add_event(
|
||||||
'setCommanderTravelLocation',
|
'setCommanderTravelLocation',
|
||||||
entry['timestamp'],
|
entry['timestamp'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user