From 8338b6adb3479f5926896ffbe579e516ada6f7d8 Mon Sep 17 00:00:00 2001 From: petosorus Date: Thu, 15 Sep 2016 08:19:21 +0200 Subject: [PATCH] Implants and boosters in Multibuy export --- service/port.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/service/port.py b/service/port.py index 23acacb7b..fffa53999 100644 --- a/service/port.py +++ b/service/port.py @@ -893,6 +893,14 @@ class Port(object): for cargo in fit.cargo: export += "%s x%s\n" % (cargo.item.name, cargo.amount) + if len(fit.implants) > 0: + for implant in fit.implants: + export += "%s\n" % implant.item.name + + if len(fit.boosters) > 0: + for booster in fit.boosters: + export += "%s\n" % booster.item.name + if export[-1] == "\n": export = export[:-1]