From ebac100e38f5109324c6db4a733512f52070d95a Mon Sep 17 00:00:00 2001 From: MaruMaruOO Date: Tue, 17 Jul 2018 04:22:40 -0400 Subject: [PATCH] Adjusted EFS to clipboard tooltip --- gui/copySelectDialog.py | 2 +- service/efsPort.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/copySelectDialog.py b/gui/copySelectDialog.py index 7f6ec1da8..b74c93b3f 100644 --- a/gui/copySelectDialog.py +++ b/gui/copySelectDialog.py @@ -43,7 +43,7 @@ class CopySelectDialog(wx.Dialog): CopySelectDialog.copyFormatDna: "A one-line text format", CopySelectDialog.copyFormatEsi: "A JSON format used for EVE CREST", CopySelectDialog.copyFormatMultiBuy: "MultiBuy text format", - CopySelectDialog.copyFormatEfs: u"EFS json stats format"} + CopySelectDialog.copyFormatEfs: "JSON data format used by EFS"} selector = wx.RadioBox(self, wx.ID_ANY, label="Copy to the clipboard using:", choices=copyFormats, style=wx.RA_SPECIFY_ROWS) selector.Bind(wx.EVT_RADIOBOX, self.Selected) diff --git a/service/efsPort.py b/service/efsPort.py index 25f6fffa3..31b9fbf91 100755 --- a/service/efsPort.py +++ b/service/efsPort.py @@ -596,7 +596,7 @@ class EfsPort(): "therm": fitModAttr["shieldThermalDamageResonance"], "em": fitModAttr["shieldEmDamageResonance"] } resonance = {"hull": hullResonance, "armor": armorResonance, "shield": shieldResonance} - shipSize = EfsPort.getShipSize(groupID) + shipSize = EfsPort.getShipSize(fit.ship.item.groupID) try: dataDict = {