From 4fef4257bd00376f45e94a35db925c0fbb58b267 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 17 Oct 2021 16:20:46 +0100 Subject: [PATCH] EDDN: use this.odyssey for Journal outfitting and shipyard For consistency with the horizons flag. They *are* placed *from* the `this` versions into `entry`, but we might as well go the direct route. They have to be set explicitly here as we process the `entry` to make a wholly new `message` rather than the `message` just being `entry` with some changes. --- plugins/eddn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/eddn.py b/plugins/eddn.py index 4f20aef0..8c5ed1d9 100644 --- a/plugins/eddn.py +++ b/plugins/eddn.py @@ -575,7 +575,7 @@ Msg:\n{msg}''' ('marketId', entry['MarketID']), ('horizons', this.horizons), ('modules', outfitting), - ('odyssey', entry['odyssey']) + ('odyssey', this.odyssey), ]), }) @@ -604,7 +604,7 @@ Msg:\n{msg}''' ('marketId', entry['MarketID']), ('horizons', this.horizons), ('ships', shipyard), - ('odyssey', entry['odyssey']) + ('odyssey', this.odyssey), ]), })