From 840c041f8c512561909230fd711852aff944a32a Mon Sep 17 00:00:00 2001 From: petosorus Date: Fri, 16 Sep 2016 10:58:31 +0200 Subject: [PATCH] Fighters get exported in EFT export --- service/port.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/service/port.py b/service/port.py index 2fc9b00ff..0c38bfbbf 100644 --- a/service/port.py +++ b/service/port.py @@ -698,6 +698,11 @@ class Port(object): for drone in fit.drones: export += "%s x%s\n" % (drone.item.name, drone.amount) + if len(fit.fighters) > 0: + export += "\n\n" + for fighter in fit.fighters: + export += "%s x%s\n" % (fighter.item.name, fighter.amountActive) + if export[-1] == "\n": export = export[:-1]