From a1ea23683d34230e927cbfda412d917e607fb1e8 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sat, 30 Oct 2010 23:09:35 +0300 Subject: [PATCH] Include timestamp as info for fits --- gui/shipBrowser.py | 2 +- service/fit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 1aec10104..04aa61633 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -188,7 +188,7 @@ class ShipBrowser(wx.Panel): self._stage3ShipName = shipName self._stage3Data = shipID - for ID, name in fitList: + for ID, name, timestamp in fitList: self.lpane.AddWidget(FitItem(self.lpane, ID, (shipName, name),shipID)) self.lpane.RefreshList() diff --git a/service/fit.py b/service/fit.py index b15bcc417..5cca43cda 100644 --- a/service/fit.py +++ b/service/fit.py @@ -50,7 +50,7 @@ class Fit(object): fits = eos.db.getFitsWithShip(id) names = [] for fit in fits: - names.append((fit.ID, fit.name)) + names.append((fit.ID, fit.name, fit.timestamp)) return names