From 467d244bea0f5d2a9d72bcc43dffaf1a5fd17f23 Mon Sep 17 00:00:00 2001 From: petosorus Date: Fri, 16 Sep 2016 10:59:19 +0200 Subject: [PATCH] Booster export in EFT Implants export --- service/port.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/service/port.py b/service/port.py index 0c38bfbbf..e5f4ec5dc 100644 --- a/service/port.py +++ b/service/port.py @@ -725,10 +725,13 @@ class Port(object): def exportEftImps(cls, fit): export = cls._exportEftBase(fit) - if len(fit.implants) > 0: + if len(fit.implants) > 0 or len(fit.boosters) > 0: export += "\n\n\n" for implant in fit.implants: export += "%s\n" % implant.item.name + for booster in fit.boosters: + export += "%s\n" % booster.item.name + if export[-1] == "\n": export = export[:-1]