Merge branch 'master' of evefit.org:pyfa

This commit is contained in:
Corollax
2010-11-13 10:17:53 -06:00
2 changed files with 2 additions and 6 deletions

View File

@@ -4,11 +4,7 @@ import sys
debug = False
#Path autodetection, only change if it doesn't work
if hasattr(sys, "frozen"):
path = os.path.dirname(unicode(sys.executable, sys.getfilesystemencoding( )))
else:
path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding()))
path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding()))
homePath = os.path.expanduser(os.path.join("~", ".pyfa"))
staticPath = homePath

View File

@@ -187,7 +187,7 @@ class GraphFrame(wx.Frame):
def removeItem(self, event):
row, _ = self.fitList.fitList.HitTest(event.Position)
if row != -1:
self.fits.remove(row)
del self.fits[row]
self.fitList.fitList.update(self.fits)
self.draw()