diff --git a/plugins/inara.py b/plugins/inara.py index b380d13a..5c09ec27 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -673,7 +673,7 @@ def journal_entry( # noqa: C901, CCR001 'starsystemBodyCoords': [entry['Latitude'], entry['Longitude']] } # Not present on, e.g. Ancient Ruins - if market_id := entry.get('MarketID') is not None: + if (market_id := entry.get('MarketID')) is not None: to_send['marketID'] = market_id new_add_event('setCommanderTravelLocation', entry['timestamp'], to_send)